summaryrefslogtreecommitdiffstats
path: root/clang/Driver/clang.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2007-01-27 02:14:08 +0000
committerChris Lattner <sabre@nondot.org>2007-01-27 02:14:08 +0000
commitbaf33665fb31f7e8e5d1f9892fc776d952e771df (patch)
treec672d4cddb3c566054a9efeb029fdac6b498a0a0 /clang/Driver/clang.cpp
parent67521df9a8e3d49b9c62cd9736038e02ba128fc8 (diff)
downloadbcm5719-llvm-baf33665fb31f7e8e5d1f9892fc776d952e771df.tar.gz
bcm5719-llvm-baf33665fb31f7e8e5d1f9892fc776d952e771df.zip
adjust to change in SmallSet interface
llvm-svn: 39313
Diffstat (limited to 'clang/Driver/clang.cpp')
-rw-r--r--clang/Driver/clang.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/Driver/clang.cpp b/clang/Driver/clang.cpp
index c60706fcee7..c5c21381c1e 100644
--- a/clang/Driver/clang.cpp
+++ b/clang/Driver/clang.cpp
@@ -367,6 +367,7 @@ void DiagnosticPrinterSTDERR::HandleDiagnostic(Diagnostic::Level Level,
SourceLocation Pos,
diag::kind ID,
const std::string &Extra) {
+ return;
++NumDiagnostics;
unsigned LineNo = 0, FilePos = 0, FileID = 0, ColNo = 0;
unsigned LineStart = 0, LineEnd = 0;
OpenPOWER on IntegriCloud