Skip to content

Commit

Permalink
Suppress cppcoreguidelines-avoid-do-while in FATAL_ERROR
Browse files Browse the repository at this point in the history
  • Loading branch information
timangus committed Oct 27, 2023
1 parent a2e0f1b commit bb1710c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/shared/utils/fatalerror.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
// Deliberately crash in order to help track down bugs
// MESSAGE becomes a struct name, so quotes and spaces are not allowed
#define FATAL_ERROR(MESSAGE) /* NOLINT cppcoreguidelines-macro-usage */ \
do { struct MESSAGE \
do { struct MESSAGE /* NOLINT cppcoreguidelines-avoid-do-while */ \
{ \
NOINLINE void operator()() \
{ \
Expand Down

0 comments on commit bb1710c

Please sign in to comment.