diff options
author | Michael Jones <michaelrj@google.com> | 2023-04-07 11:50:43 -0700 |
---|---|---|
committer | Michael Jones <michaelrj@google.com> | 2023-04-07 11:51:44 -0700 |
commit | d92b5852595122a26ba062f1747def2e3f1d51b2 (patch) | |
tree | 8c47a4638bbc057907f82c30a7cf6aae230c945d /libc | |
parent | 3acdd596c0d7a51038f1be4a9bbc86ba288301ba (diff) | |
download | llvm-d92b5852595122a26ba062f1747def2e3f1d51b2.zip llvm-d92b5852595122a26ba062f1747def2e3f1d51b2.tar.gz llvm-d92b5852595122a26ba062f1747def2e3f1d51b2.tar.bz2 |
[libc][obvious] fix phrasing in assert comment
Diffstat (limited to 'libc')
-rw-r--r-- | libc/src/assert/assert.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/libc/src/assert/assert.h b/libc/src/assert/assert.h index 46cfe3b..71b7e56 100644 --- a/libc/src/assert/assert.h +++ b/libc/src/assert/assert.h @@ -8,9 +8,9 @@ #include "src/assert/__assert_fail.h" -// There is no header guard here since assert is intended to be able to be -// able to be included multiple times with NDEBUG defined differently, causing -// 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. #undef assert @@ -18,6 +18,7 @@ #define assert(e) (void)0 #else #define assert(e) \ - ((e) ? (void)0 : \ - __llvm_libc::__assert_fail(#e, __FILE__, __LINE__, __PRETTY_FUNCTION__)) + ((e) ? (void)0 \ + : __llvm_libc::__assert_fail(#e, __FILE__, __LINE__, \ + __PRETTY_FUNCTION__)) #endif |