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.
2 parents 81c6575 + ed5e22d commit 1eb0ad2Copy full SHA for 1eb0ad2
lib/AST/DiagnosticEngine.cpp
@@ -1251,8 +1251,8 @@ DiagnosticBehavior DiagnosticState::determineBehavior(const Diagnostic &diag) {
1251
anyErrorOccurred = true;
1252
}
1253
1254
- assert((!AssertOnError || !anyErrorOccurred) && "We emitted an error?!");
1255
- assert((!AssertOnWarning || (lvl != DiagnosticBehavior::Warning)) &&
+ ASSERT((!AssertOnError || !anyErrorOccurred) && "We emitted an error?!");
+ ASSERT((!AssertOnWarning || (lvl != DiagnosticBehavior::Warning)) &&
1256
"We emitted a warning?!");
1257
1258
previousBehavior = lvl;
0 commit comments