aboutsummaryrefslogtreecommitdiff
path: root/Driver/clang.cpp
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2008-04-29 05:13:59 +0000
committerTed Kremenek <kremenek@apple.com>2008-04-29 05:13:59 +0000
commite5c30122cae6113660c6098301fd22db1693e69a (patch)
treebda56023e23751537daa70aad32aa0c83565bf97 /Driver/clang.cpp
parentdd6cec16e91983651a73ec8a4aadfcfb5bf23fc1 (diff)
Provide the option to run the CF-retain checker in GC enabled mode.
The transfer functions for the checker don't do anything special yet in GC mode. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@50394 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'Driver/clang.cpp')
-rw-r--r--Driver/clang.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/Driver/clang.cpp b/Driver/clang.cpp
index 0b9841687b..62f570f627 100644
--- a/Driver/clang.cpp
+++ b/Driver/clang.cpp
@@ -1132,7 +1132,8 @@ static ASTConsumer* CreateASTConsumer(const std::string& InFile,
OutputFile, VisualizeEG, TrimGraph, AnalyzeAll);
case CheckerCFRef:
- return CreateCFRefChecker(Diag, PP, PPF, AnalyzeSpecificFunction,
+ return CreateCFRefChecker(Diag, PP, PPF, LangOpts,
+ AnalyzeSpecificFunction,
OutputFile, VisualizeEG, TrimGraph, AnalyzeAll);
case TestSerialization: