Add parameter names to function declarations. (#1498)
It's generally considered a bad programming practice to have function declarations without parameter names. This is another legacy from the early days of the project. Fix in one go to minimize history disruption. Used a custom clang-tidy check to create the bulk of the change. JerryScript-DCO-1.0-Signed-off-by: Tilmann Scheller t.scheller@samsung.com
This commit is contained in:
@@ -26,13 +26,13 @@
|
||||
*/
|
||||
|
||||
ecma_value_t
|
||||
ecma_op_create_string_object (const ecma_value_t *, ecma_length_t);
|
||||
ecma_op_create_string_object (const ecma_value_t *arguments_list_p, ecma_length_t arguments_list_len);
|
||||
|
||||
void
|
||||
ecma_op_string_list_lazy_property_names (ecma_object_t *,
|
||||
bool,
|
||||
ecma_collection_header_t *,
|
||||
ecma_collection_header_t *);
|
||||
ecma_op_string_list_lazy_property_names (ecma_object_t *obj_p,
|
||||
bool separate_enumerable,
|
||||
ecma_collection_header_t *main_collection_p,
|
||||
ecma_collection_header_t *non_enum_collection_p);
|
||||
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user