diff options
author | Ted Kremenek <kremenek@apple.com> | 2008-02-07 06:33:19 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2008-02-07 06:33:19 +0000 |
commit | 19227e32af1f903541214ef24f693688e67c58d6 (patch) | |
tree | 3e26b0036bfe1cf972ea2c4596a7445fc53ad37e /Driver/clang.cpp | |
parent | 63a4f697a3c6cf4a8b7911830830d2738da7217a (diff) |
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
Diffstat (limited to 'Driver/clang.cpp')
-rw-r--r-- | Driver/clang.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Driver/clang.cpp b/Driver/clang.cpp index 998ac1ed86..8b3c2f9cf0 100644 --- a/Driver/clang.cpp +++ b/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); |