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.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@48989 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/Driver/clang.cpp b/Driver/clang.cpp
index 2bf99f8..ba46414 100644
--- a/Driver/clang.cpp
+++ b/Driver/clang.cpp
@@ -1039,13 +1039,14 @@
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);