diff options
| author | Ted Kremenek <kremenek@apple.com> | 2008-03-31 18:26:32 +0000 |
|---|---|---|
| committer | Ted Kremenek <kremenek@apple.com> | 2008-03-31 18:26:32 +0000 |
| commit | c27815ca8262d257250e96be86e124ff8c28b375 (patch) | |
| tree | 6ab0722b0e2475947b574cb7579a7bc07ba5a839 /clang/Driver/clang.cpp | |
| parent | 612d34641b86517fcc451dde1ce3c8613505378c (diff) | |
| download | bcm5719-llvm-c27815ca8262d257250e96be86e124ff8c28b375.tar.gz bcm5719-llvm-c27815ca8262d257250e96be86e124ff8c28b375.zip | |
Inlined clang/Analysis/Analyses/GRSimpleVals.h into LocalCheckers.h and removed
GRSimpleVals.h
Added a PathDiagnosticClient option to the driver functions for the
CFRefCountChecker and the GRSimpleVals analysis. Both analyses now accept a "-o"
argument from the driver that specifies where HTML reports should be dumped.
llvm-svn: 48989
Diffstat (limited to 'clang/Driver/clang.cpp')
| -rw-r--r-- | clang/Driver/clang.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/clang/Driver/clang.cpp b/clang/Driver/clang.cpp index 2bf99f8eafb..ba464147a1f 100644 --- a/clang/Driver/clang.cpp +++ b/clang/Driver/clang.cpp @@ -1039,13 +1039,14 @@ static ASTConsumer* CreateASTConsumer(const std::string& InFile, return CreateUnitValsChecker(Diag); case AnalysisGRSimpleVals: - return CreateGRSimpleVals(Diag, AnalyzeSpecificFunction); + return CreateGRSimpleVals(Diag, AnalyzeSpecificFunction, OutputFile); case AnalysisGRSimpleValsView: - return CreateGRSimpleVals(Diag, AnalyzeSpecificFunction, true, TrimGraph); + return CreateGRSimpleVals(Diag, AnalyzeSpecificFunction, OutputFile, + true, TrimGraph); case CheckerCFRef: - return CreateCFRefChecker(Diag, AnalyzeSpecificFunction); + return CreateCFRefChecker(Diag, AnalyzeSpecificFunction, OutputFile); case TestSerialization: return CreateSerializationTest(Diag, FileMgr, LangOpts); |

