diff options
author | Ted Kremenek <kremenek@apple.com> | 2008-07-02 00:44:58 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2008-07-02 00:44:58 +0000 |
commit | b35a74a40c1d2656a25e560e773ed48bdf49f9c0 (patch) | |
tree | 4c8b1bcbaf8cf8a0f39a1ecac0becb5448c03af0 /Driver/clang.cpp | |
parent | d478a5b83ca791fe9a6a945762bb2053ac4c9f26 (diff) |
Migrated driver logic for running the CF retain/release checker over to the new AnalysisConsumer interface.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@53002 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'Driver/clang.cpp')
-rw-r--r-- | Driver/clang.cpp | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/Driver/clang.cpp b/Driver/clang.cpp index eddaca3a88..344fe08bff 100644 --- a/Driver/clang.cpp +++ b/Driver/clang.cpp @@ -77,7 +77,6 @@ enum ProgActions { AnalysisLiveVariables, // Print results of live-variable analysis. AnalysisGRSimpleVals, // Perform graph-reachability constant prop. AnalysisGRSimpleValsView, // Visualize results of path-sens. analysis. - CheckerCFRef, // Run the Core Foundation Ref. Count Checker. TestSerialization, // Run experimental serialization code. ParsePrintCallbacks, // Parse and print each callback. ParseSyntaxOnly, // Parse and perform semantic analysis. @@ -120,8 +119,6 @@ ProgAction(llvm::cl::desc("Choose output type:"), llvm::cl::ZeroOrMore, "Print results of live variable analysis"), clEnumValN(AnalysisGRSimpleVals, "checker-simple", "Perform path-sensitive constant propagation"), - clEnumValN(CheckerCFRef, "checker-cfref", - "Run the Core Foundation reference count checker"), clEnumValN(TestSerialization, "test-pickling", "Run prototype serialization code"), clEnumValN(EmitLLVM, "emit-llvm", @@ -182,6 +179,8 @@ clEnumValN(WarnDeadStores, "warn-dead-stores", "Flag warnings of stores to dead variables"), clEnumValN(WarnUninitVals, "warn-uninit-values", "Flag warnings of uses of unitialized variables"), +clEnumValN(CheckerCFRef, "checker-cfref", + "Run the [Core] Foundation reference count checker"), clEnumValEnd)); //===----------------------------------------------------------------------===// @@ -1206,11 +1205,6 @@ static ASTConsumer* CreateASTConsumer(const std::string& InFile, return CreateGRSimpleVals(Diag, PP, PPF, AnalyzeSpecificFunction, OutputFile, VisualizeEG, TrimGraph, AnalyzeAll); - case CheckerCFRef: - return CreateCFRefChecker(Diag, PP, PPF, LangOpts, - AnalyzeSpecificFunction, - OutputFile, VisualizeEG, TrimGraph, AnalyzeAll); - case TestSerialization: return CreateSerializationTest(Diag, FileMgr); |