Skip to content

Commit f2ac5c7

Browse files
committed
clang-format
1 parent 84728f1 commit f2ac5c7

File tree

1 file changed

+23
-23
lines changed

1 file changed

+23
-23
lines changed

compiler-rt/lib/msan/msan.cpp

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -428,14 +428,14 @@ MSAN_MAYBE_STORE_ORIGIN(u64, 8)
428428
// - add instname as a parameter everywhere (with a check whether instname is
429429
// null): this pollutes the fastpath
430430
// - duplicate the function body: redundancy is redundant
431-
#define __MSAN_WARNING_BODY \
432-
GET_CALLER_PC_BP; \
433-
PrintWarningWithOrigin(pc, bp, 0); \
431+
#define __MSAN_WARNING_BODY \
432+
GET_CALLER_PC_BP; \
433+
PrintWarningWithOrigin(pc, bp, 0); \
434434
if (__msan::flags()->halt_on_error) { \
435-
if (__msan::flags()->print_stats) \
436-
ReportStats(); \
437-
Printf("Exiting\n"); \
438-
Die(); \
435+
if (__msan::flags()->print_stats) \
436+
ReportStats(); \
437+
Printf("Exiting\n"); \
438+
Die(); \
439439
}
440440

441441
void __msan_warning() {
@@ -449,11 +449,11 @@ void __msan_warning_instname(char *instname) {
449449
}
450450

451451
#define __MSAN_WARNING_NORETURN_BODY \
452-
GET_CALLER_PC_BP; \
452+
GET_CALLER_PC_BP; \
453453
PrintWarningWithOrigin(pc, bp, 0); \
454-
if (__msan::flags()->print_stats) \
455-
ReportStats(); \
456-
Printf("Exiting\n"); \
454+
if (__msan::flags()->print_stats) \
455+
ReportStats(); \
456+
Printf("Exiting\n"); \
457457
Die();
458458

459459
void __msan_warning_noreturn() {
@@ -467,13 +467,13 @@ void __msan_warning_noreturn_instname(char *instname) {
467467
}
468468

469469
#define __MSAN_WARNING_WITH_ORIGIN_BODY(origin) \
470-
GET_CALLER_PC_BP; \
471-
PrintWarningWithOrigin(pc, bp, origin); \
472-
if (__msan::flags()->halt_on_error) { \
473-
if (__msan::flags()->print_stats) \
474-
ReportStats(); \
475-
Printf("Exiting\n"); \
476-
Die(); \
470+
GET_CALLER_PC_BP; \
471+
PrintWarningWithOrigin(pc, bp, origin); \
472+
if (__msan::flags()->halt_on_error) { \
473+
if (__msan::flags()->print_stats) \
474+
ReportStats(); \
475+
Printf("Exiting\n"); \
476+
Die(); \
477477
}
478478

479479
void __msan_warning_with_origin(u32 origin) {
@@ -487,11 +487,11 @@ void __msan_warning_with_origin_instname(u32 origin, char *instname) {
487487
}
488488

489489
#define __MSAN_WARNING_WITH_ORIGIN_NORETURN_BODY(origin) \
490-
GET_CALLER_PC_BP; \
491-
PrintWarningWithOrigin(pc, bp, origin); \
492-
if (__msan::flags()->print_stats) \
493-
ReportStats(); \
494-
Printf("Exiting\n"); \
490+
GET_CALLER_PC_BP; \
491+
PrintWarningWithOrigin(pc, bp, origin); \
492+
if (__msan::flags()->print_stats) \
493+
ReportStats(); \
494+
Printf("Exiting\n"); \
495495
Die();
496496

497497
void __msan_warning_with_origin_noreturn(u32 origin) {

0 commit comments

Comments
 (0)