Skip to content

Commit e537643

Browse files
committed
Correctly obey NDEBUG for CONDITIONAL_ASSERT
It looks like a piece of an old experiment never got removed, which broke the intended behavior here.
1 parent 5080628 commit e537643

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

lib/Basic/Assertions.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@
1717
#include "llvm/Support/CommandLine.h"
1818
#include "llvm/Support/raw_ostream.h"
1919
#include "swift/Basic/Assertions.h"
20-
#undef NDEBUG
21-
#include <cassert>
2220
#include <iostream>
2321

2422
llvm::cl::opt<bool> AssertContinue(

0 commit comments

Comments
 (0)