We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 417036e commit 48afd20Copy full SHA for 48afd20
libc/src/assert/assert.h
@@ -8,16 +8,17 @@
8
9
#include "src/assert/__assert_fail.h"
10
11
-// There is no header guard here since assert is intended to be able to be
12
-// able to be included multiple times with NDEBUG defined differently, causing
13
-// different behavior.
+// There is no header guard here since assert is intended to capable of being
+// included multiple times with NDEBUG defined differently, causing different
+// behavior.
14
15
#undef assert
16
17
#ifdef NDEBUG
18
#define assert(e) (void)0
19
#else
20
#define assert(e) \
21
- ((e) ? (void)0 : \
22
- __llvm_libc::__assert_fail(#e, __FILE__, __LINE__, __PRETTY_FUNCTION__))
+ ((e) ? (void)0 \
+ : __llvm_libc::__assert_fail(#e, __FILE__, __LINE__, \
23
+ __PRETTY_FUNCTION__))
24
#endif
0 commit comments