Skip to content

Commit ee356a7

Browse files
committed
[compiler-rt][NFC] clang-format changes
Signed-off-by: Jens Reidel <[email protected]>
1 parent 600589d commit ee356a7

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

compiler-rt/lib/sanitizer_common/sanitizer_stoptheworld_linux_libcdep.cpp

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -37,28 +37,28 @@
3737
# include <asm/ptrace.h>
3838
#endif
3939
#include <sys/user.h> // for user_regs_struct
40-
#if SANITIZER_MIPS
40+
# if SANITIZER_MIPS
4141
// clang-format off
4242
# include <asm/sgidefs.h> // <asm/sgidefs.h> must be included before <asm/reg.h>
4343
# include <asm/reg.h> // for mips SP register
4444
// clang-format on
45-
#endif
46-
#include <sys/wait.h> // for signal-related stuff
45+
# endif
46+
# include <sys/wait.h> // for signal-related stuff
4747

48-
#ifdef sa_handler
49-
# undef sa_handler
50-
#endif
48+
# ifdef sa_handler
49+
# undef sa_handler
50+
# endif
5151

52-
#ifdef sa_sigaction
53-
# undef sa_sigaction
54-
#endif
52+
# ifdef sa_sigaction
53+
# undef sa_sigaction
54+
# endif
5555

56-
#include "sanitizer_common.h"
57-
#include "sanitizer_flags.h"
58-
#include "sanitizer_libc.h"
59-
#include "sanitizer_linux.h"
60-
#include "sanitizer_mutex.h"
61-
#include "sanitizer_placement_new.h"
56+
# include "sanitizer_common.h"
57+
# include "sanitizer_flags.h"
58+
# include "sanitizer_libc.h"
59+
# include "sanitizer_linux.h"
60+
# include "sanitizer_mutex.h"
61+
# include "sanitizer_placement_new.h"
6262

6363
// Sufficiently old kernel headers don't provide this value, but we can still
6464
// call prctl with it. If the runtime kernel is new enough, the prctl call will
@@ -513,7 +513,7 @@ typedef pt_regs regs_struct;
513513

514514
#elif defined(__mips__)
515515
typedef struct user regs_struct;
516-
# define REG_SP regs[EF_R29]
516+
# define REG_SP regs[EF_R29]
517517

518518
#elif defined(__aarch64__)
519519
typedef struct user_pt_regs regs_struct;

0 commit comments

Comments
 (0)