Refactored all logic to run the GRSimpleVals and CFRef checker into a common
code path in the clang driver.
Renamed options --grsimple to -checker-simple and -check-cfref to -checker-cfref.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@49500 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/Driver/ASTConsumers.h b/Driver/ASTConsumers.h
index a38d427..0c0cf58 100644
--- a/Driver/ASTConsumers.h
+++ b/Driver/ASTConsumers.h
@@ -47,9 +47,10 @@
const std::string& HTMLDir,
bool Visualize = false, bool TrimGraph = false);
-ASTConsumer* CreateCFRefChecker(Diagnostic &Diags,
- const std::string& FunctionName,
- const std::string& HTMLDir);
+ASTConsumer *CreateCFRefChecker(Diagnostic &Diags,
+ const std::string& Function,
+ const std::string& HTMLDir,
+ bool Visualize = false, bool TrimGraph = false);
ASTConsumer *CreateCodeRewriterTest(const std::string& InFile,
const std::string& OutFile,