Update clang-format (#5112)
Bump minimum clang-format version to 15 (the previously used 10 is not in the ubuntu-22.04 repo) Reformat several files Re-enable format and strings CI checkers JerryScript-DCO-1.0-Signed-off-by: Máté Tokodi mate.tokodi@szteszoftver.hu
This commit is contained in:
@@ -62,10 +62,10 @@ typedef struct jerryx_native_module_t
|
||||
#pragma section(".CRT$XCU", read)
|
||||
#pragma section(".CRT$XTU", read)
|
||||
|
||||
#define JERRYX_MSVC_FUNCTION_ON_SECTION(sec_name, f) \
|
||||
static void f (void); \
|
||||
__pragma (JERRYX_MSVC_INCLUDE_SYM (f##_section)) __declspec(allocate (sec_name)) \
|
||||
JERRYX_MSCV_EXTERN_C void (*f##_section) (void) = f; \
|
||||
#define JERRYX_MSVC_FUNCTION_ON_SECTION(sec_name, f) \
|
||||
static void f (void); \
|
||||
__pragma (JERRYX_MSVC_INCLUDE_SYM (f##_section)) __declspec (allocate (sec_name)) \
|
||||
JERRYX_MSCV_EXTERN_C void (*f##_section) (void) = f; \
|
||||
static void f (void)
|
||||
|
||||
#define JERRYX_MODULE_CONSTRUCTOR(f) JERRYX_MSVC_FUNCTION_ON_SECTION (".CRT$XCU", f)
|
||||
|
||||
Reference in New Issue
Block a user