Skip to content

Commit 67bc920

Browse files
michaelrj-googleFerdinand Lemaire
authored and
Ferdinand Lemaire
committed
[libc][obvious] fix phrasing in assert comment
1 parent 6dd348c commit 67bc920

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

libc/src/assert/assert.h

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,17 @@
88

99
#include "src/assert/__assert_fail.h"
1010

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.
11+
// There is no header guard here since assert is intended to capable of being
12+
// included multiple times with NDEBUG defined differently, causing different
13+
// behavior.
1414

1515
#undef assert
1616

1717
#ifdef NDEBUG
1818
#define assert(e) (void)0
1919
#else
2020
#define assert(e) \
21-
((e) ? (void)0 : \
22-
__llvm_libc::__assert_fail(#e, __FILE__, __LINE__, __PRETTY_FUNCTION__))
21+
((e) ? (void)0 \
22+
: __llvm_libc::__assert_fail(#e, __FILE__, __LINE__, \
23+
__PRETTY_FUNCTION__))
2324
#endif

0 commit comments

Comments
 (0)