Replace vera++ with clang-format (#4518)
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik robert.fancsik@h-lab.eu
This commit is contained in:
@@ -14,15 +14,16 @@
|
||||
*/
|
||||
|
||||
#include "ecma-array-object.h"
|
||||
#include "ecma-builtins.h"
|
||||
#include "ecma-builtin-function-prototype.h"
|
||||
#include "ecma-iterator-object.h"
|
||||
#include "ecma-builtin-helpers.h"
|
||||
#include "ecma-builtin-object.h"
|
||||
#include "ecma-builtins.h"
|
||||
#include "ecma-exceptions.h"
|
||||
#include "ecma-function-object.h"
|
||||
#include "ecma-gc.h"
|
||||
#include "ecma-iterator-object.h"
|
||||
#include "ecma-proxy-object.h"
|
||||
|
||||
#include "jcontext.h"
|
||||
|
||||
#if JERRY_BUILTIN_REFLECT
|
||||
@@ -57,7 +58,7 @@ enum
|
||||
};
|
||||
|
||||
#define BUILTIN_INC_HEADER_NAME "ecma-builtin-reflect.inc.h"
|
||||
#define BUILTIN_UNDERSCORED_ID reflect
|
||||
#define BUILTIN_UNDERSCORED_ID reflect
|
||||
#include "ecma-builtin-internal-routines-template.inc.h"
|
||||
|
||||
/** \addtogroup ecma ECMA
|
||||
@@ -213,10 +214,7 @@ ecma_builtin_reflect_dispatch_routine (uint8_t builtin_routine_id, /**< built-in
|
||||
return ECMA_VALUE_ERROR;
|
||||
}
|
||||
|
||||
ecma_value_t ret_value = ecma_op_function_construct (target_p,
|
||||
new_target_p,
|
||||
coll_p->buffer_p,
|
||||
coll_p->item_count);
|
||||
ecma_value_t ret_value = ecma_op_function_construct (target_p, new_target_p, coll_p->buffer_p, coll_p->item_count);
|
||||
|
||||
ecma_collection_free (coll_p);
|
||||
return ret_value;
|
||||
@@ -285,9 +283,7 @@ ecma_builtin_reflect_dispatch_routine (uint8_t builtin_routine_id, /**< built-in
|
||||
return conv_result;
|
||||
}
|
||||
|
||||
ecma_value_t result = ecma_op_object_define_own_property (obj_p,
|
||||
name_str_p,
|
||||
&prop_desc);
|
||||
ecma_value_t result = ecma_op_object_define_own_property (obj_p, name_str_p, &prop_desc);
|
||||
|
||||
ecma_deref_ecma_string (name_str_p);
|
||||
ecma_free_property_descriptor (&prop_desc);
|
||||
|
||||
Reference in New Issue
Block a user