summaryrefslogtreecommitdiffstats
path: root/clang/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
commit4d1f422c6feb23a0f7c1f78eff7b5da5001d69ff (patch)
tree00115908477c2cecc934b9725d5447afd3f6cd41 /clang/Driver/clang.cpp
parente331a65c794c93b7c7792b7ba08ab6069b9c086d (diff)
downloadbcm5719-llvm-4d1f422c6feb23a0f7c1f78eff7b5da5001d69ff.tar.gz
bcm5719-llvm-4d1f422c6feb23a0f7c1f78eff7b5da5001d69ff.zip
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. llvm-svn: 50394
Diffstat (limited to 'clang/Driver/clang.cpp')
-rw-r--r--clang/Driver/clang.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/Driver/clang.cpp b/clang/Driver/clang.cpp
index 0b9841687b6..62f570f6277 100644
--- a/clang/Driver/clang.cpp
+++ b/clang/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:
OpenPOWER on IntegriCloud