diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2012-12-02 13:20:44 +0000 | 
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2012-12-02 13:20:44 +0000 | 
| commit | 13cc256e404620c1de0cbcc4e43ce1e2dbbc4898 (patch) | |
| tree | 2732d02d7d51218d6eed98ac7fcfc5b8794896b5 /lib/Basic/DiagnosticIDs.cpp | |
| parent | 657bc3d9848e3be92029b2416031340988cd0111 (diff) | |
Diffstat (limited to 'lib/Basic/DiagnosticIDs.cpp')
| -rw-r--r-- | lib/Basic/DiagnosticIDs.cpp | 5 | 
1 files changed, 2 insertions, 3 deletions
| diff --git a/lib/Basic/DiagnosticIDs.cpp b/lib/Basic/DiagnosticIDs.cpp index ca96fd2b9b24..ed976436e284 100644 --- a/lib/Basic/DiagnosticIDs.cpp +++ b/lib/Basic/DiagnosticIDs.cpp @@ -628,9 +628,9 @@ bool DiagnosticIDs::ProcessDiag(DiagnosticsEngine &Diag) const {    if (DiagLevel >= DiagnosticIDs::Error) {      if (isUnrecoverable(DiagID))        Diag.UnrecoverableErrorOccurred = true; -     + +    Diag.ErrorOccurred = true;      if (Diag.Client->IncludeInDiagnosticCounts()) { -      Diag.ErrorOccurred = true;        ++Diag.NumErrors;      } @@ -686,4 +686,3 @@ bool DiagnosticIDs::isARCDiagnostic(unsigned DiagID) {    unsigned cat = getCategoryNumberForDiag(DiagID);    return DiagnosticIDs::getCategoryNameFromID(cat).startswith("ARC ");  } - | 
