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:
@@ -13,7 +13,6 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include "lit-strings.h"
|
||||
#include "ecma-alloc.h"
|
||||
#include "ecma-builtins.h"
|
||||
#include "ecma-conversion.h"
|
||||
@@ -23,6 +22,8 @@
|
||||
#include "ecma-helpers.h"
|
||||
#include "ecma-objects.h"
|
||||
#include "ecma-string-object.h"
|
||||
|
||||
#include "lit-strings.h"
|
||||
#if JERRY_ESNEXT
|
||||
#include "ecma-symbol-object.h"
|
||||
#endif /* JERRY_ESNEXT */
|
||||
@@ -50,7 +51,7 @@ enum
|
||||
};
|
||||
|
||||
#define BUILTIN_INC_HEADER_NAME "ecma-builtin-string.inc.h"
|
||||
#define BUILTIN_UNDERSCORED_ID string
|
||||
#define BUILTIN_UNDERSCORED_ID string
|
||||
#include "ecma-builtin-internal-routines-template.inc.h"
|
||||
|
||||
/** \addtogroup ecma ECMA
|
||||
@@ -85,15 +86,11 @@ ecma_builtin_string_object_from_char_code (const ecma_value_t args[], /**< argum
|
||||
ecma_string_t *ret_string_p = NULL;
|
||||
bool isError = false;
|
||||
|
||||
JMEM_DEFINE_LOCAL_ARRAY (utf8_buf_p,
|
||||
utf8_buf_size,
|
||||
lit_utf8_byte_t);
|
||||
JMEM_DEFINE_LOCAL_ARRAY (utf8_buf_p, utf8_buf_size, lit_utf8_byte_t);
|
||||
|
||||
lit_utf8_size_t utf8_buf_used = 0;
|
||||
|
||||
for (uint32_t arg_index = 0;
|
||||
arg_index < args_number;
|
||||
arg_index++)
|
||||
for (uint32_t arg_index = 0; arg_index < args_number; arg_index++)
|
||||
{
|
||||
ecma_number_t arg_num;
|
||||
|
||||
@@ -411,7 +408,7 @@ ecma_builtin_string_dispatch_routine (uint8_t builtin_routine_id, /**< built-in
|
||||
|
||||
switch (builtin_routine_id)
|
||||
{
|
||||
case ECMA_BUILTIN_STRING_OBJECT_FROM_CHAR_CODE:
|
||||
case ECMA_BUILTIN_STRING_OBJECT_FROM_CHAR_CODE:
|
||||
{
|
||||
return ecma_builtin_string_object_from_char_code (arguments_list_p, arguments_number);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user