summaryrefslogtreecommitdiffstats
path: root/clang/Driver/clang.cpp
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2008-02-07 06:33:19 +0000
committerTed Kremenek <kremenek@apple.com>2008-02-07 06:33:19 +0000
commitd74da0838f745a70fedade067b70d54427428553 (patch)
treed92f73bd0202182374c20ba496366dbe6f87f97b /clang/Driver/clang.cpp
parent149512c0131b6c85915f6c62b21372705e94ecc2 (diff)
downloadbcm5719-llvm-d74da0838f745a70fedade067b70d54427428553.tar.gz
bcm5719-llvm-d74da0838f745a70fedade067b70d54427428553.zip
Added proof-of-concept NULL pointer diagnostics to GRConstants.
Modified the driver to pass the Diagnostic object to GRConstants. llvm-svn: 46847
Diffstat (limited to 'clang/Driver/clang.cpp')
-rw-r--r--clang/Driver/clang.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/Driver/clang.cpp b/clang/Driver/clang.cpp
index 998ac1ed869..8b3c2f9cf00 100644
--- a/clang/Driver/clang.cpp
+++ b/clang/Driver/clang.cpp
@@ -969,7 +969,7 @@ static ASTConsumer* CreateASTConsumer(const std::string& InFile,
return CreateUnitValsChecker(Diag);
case AnalysisGRConstants:
- return CreateGRConstants();
+ return CreateGRConstants(Diag);
case TestSerialization:
return CreateSerializationTest(Diag, FileMgr, LangOpts);
OpenPOWER on IntegriCloud