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:
Robert Fancsik
2021-11-05 14:15:47 +01:00
committed by GitHub
parent bc091e1742
commit badfdf4dba
564 changed files with 10195 additions and 15090 deletions
+4 -5
View File
@@ -20,8 +20,9 @@
#include "ecma-helpers.h"
#include "ecma-number-arithmetic.h"
#include "ecma-objects.h"
#include "opcodes.h"
#include "jrt-libc-includes.h"
#include "opcodes.h"
/** \addtogroup vm Virtual machine
* @{
@@ -200,8 +201,7 @@ opfunc_addition (ecma_value_t left_value, /**< left value */
ecma_value_t ret_value = ECMA_VALUE_EMPTY;
if (ecma_is_value_string (left_value)
|| ecma_is_value_string (right_value))
if (ecma_is_value_string (left_value) || ecma_is_value_string (right_value))
{
ecma_string_t *string1_p = ecma_op_to_string (left_value);
@@ -240,8 +240,7 @@ opfunc_addition (ecma_value_t left_value, /**< left value */
ecma_deref_ecma_string (string2_p);
}
#if JERRY_BUILTIN_BIGINT
else if (JERRY_UNLIKELY (ecma_is_value_bigint (left_value))
&& JERRY_UNLIKELY (ecma_is_value_bigint (right_value)))
else if (JERRY_UNLIKELY (ecma_is_value_bigint (left_value)) && JERRY_UNLIKELY (ecma_is_value_bigint (right_value)))
{
ret_value = ecma_bigint_add_sub (left_value, right_value, true);
}