[cfe-commits] r39616 - /cfe/cfe/trunk/Basic/Diagnostic.cpp
bwendlin at cs.uiuc.edu
bwendlin at cs.uiuc.edu
Wed Jul 11 09:46:17 PDT 2007
Author: bwendlin
Date: Wed Jul 11 11:46:16 2007
New Revision: 39616
URL: http://llvm.org/viewvc/llvm-project?rev=39616&view=rev
Log:
Submitted by: Bill Wendling
- Say! why don't we increment the NumDiagnostics variable too?
Modified:
cfe/cfe/trunk/Basic/Diagnostic.cpp
Modified: cfe/cfe/trunk/Basic/Diagnostic.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/cfe/trunk/Basic/Diagnostic.cpp?rev=39616&r1=39615&r2=39616&view=diff
==============================================================================
--- cfe/cfe/trunk/Basic/Diagnostic.cpp (original)
+++ cfe/cfe/trunk/Basic/Diagnostic.cpp Wed Jul 11 11:46:16 2007
@@ -134,10 +134,11 @@
ErrorOccurred = true;
++NumErrors;
}
-
+
// Finally, report it.
Client.HandleDiagnostic(DiagLevel, Pos, (diag::kind)DiagID, Strs, NumStrs,
Ranges, NumRanges);
+ ++NumDiagnostics;
}
DiagnosticClient::~DiagnosticClient() {}
More information about the cfe-commits
mailing list