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:
Máté Tokodi
2023-12-11 23:21:52 +01:00
committed by GitHub
parent ef4cb2bf74
commit 3b876f7392
9 changed files with 27 additions and 31 deletions
+9 -9
View File
@@ -162,19 +162,19 @@ run (void)
#endif /* !(defined ( __linux__) && __linux__) */
#if defined(__x86_64__)
#define STACK_SAVE(TARGET) \
{ \
__asm volatile("mov %%rsp, %0" : "=m"(TARGET)); \
#define STACK_SAVE(TARGET) \
{ \
__asm volatile ("mov %%rsp, %0" : "=m"(TARGET)); \
}
#elif defined(__i386__)
#define STACK_SAVE(TARGET) \
{ \
__asm volatile("mov %%esp, %0" : "=m"(TARGET)); \
#define STACK_SAVE(TARGET) \
{ \
__asm volatile ("mov %%esp, %0" : "=m"(TARGET)); \
}
#elif defined(__arm__)
#define STACK_SAVE(TARGET) \
{ \
__asm volatile("mov %0, sp" : "=r"(TARGET)); \
#define STACK_SAVE(TARGET) \
{ \
__asm volatile ("mov %0, sp" : "=r"(TARGET)); \
}
#else /* !defined (__x86_64__) && !defined (__i386__) && !defined (__arm__) */
#error "Unsupported stack measurement target!"