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 d07e8ce commit 8ebd36eCopy full SHA for 8ebd36e
include/swift/Basic/Assertions.h
@@ -43,7 +43,7 @@
43
44
#define ASSERT(expr) \
45
do { \
46
- if (ASSERT_UNLIKELY(!expr)) { \
+ if (ASSERT_UNLIKELY(!(expr))) { \
47
ASSERT_failure(#expr, __FILE_NAME__, __LINE__, __func__); \
48
} \
49
} while (0)
0 commit comments