Added proof-of-concept NULL pointer diagnostics to GRConstants.
Modified the driver to pass the Diagnostic object to GRConstants.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@46847 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/Driver/clang.cpp b/Driver/clang.cpp
index 998ac1e..8b3c2f9 100644
--- a/Driver/clang.cpp
+++ b/Driver/clang.cpp
@@ -969,7 +969,7 @@
return CreateUnitValsChecker(Diag);
case AnalysisGRConstants:
- return CreateGRConstants();
+ return CreateGRConstants(Diag);
case TestSerialization:
return CreateSerializationTest(Diag, FileMgr, LangOpts);