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 c74ab1b commit 83714a8Copy full SHA for 83714a8
clang/lib/Basic/DiagnosticIDs.cpp
@@ -834,10 +834,7 @@ bool DiagnosticIDs::isUnrecoverable(unsigned DiagID) const {
834
835
// Currently we consider all ARC errors except err_arc_may_not_respond as
836
// recoverable.
837
- if (DiagID == diag::err_arc_may_not_respond)
838
- return true;
839
-
840
- if (isARCDiagnostic(DiagID))
+ if (isARCDiagnostic(DiagID) && DiagID != diag::err_arc_may_not_respond)
841
return false;
842
843
if (isCodegenABICheckDiagnostic(DiagID))
0 commit comments