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 0c7e7f3 commit ed5e22dCopy full SHA for ed5e22d
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