aboutsummaryrefslogtreecommitdiff
path: root/Driver/clang.cpp
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2008-02-22 20:13:09 +0000
committerTed Kremenek <kremenek@apple.com>2008-02-22 20:13:09 +0000
commitbfc10c961212fe2701c717efa134ce9cb55b38cf (patch)
tree49671e9d69aa91ff95894866b599727522ad7863 /Driver/clang.cpp
parent5f39c2dbd4585cff6df5af27d9001750e15cbce5 (diff)
Modified clang driver option -dump-live-variables to (optionally) use the
--analyze-function option to analyze specific functions. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@47498 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'Driver/clang.cpp')
-rw-r--r--Driver/clang.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Driver/clang.cpp b/Driver/clang.cpp
index 15384c5f1c..89e0bad4d0 100644
--- a/Driver/clang.cpp
+++ b/Driver/clang.cpp
@@ -982,7 +982,7 @@ static ASTConsumer* CreateASTConsumer(const std::string& InFile,
AnalyzeSpecificFunction);
case AnalysisLiveVariables:
- return CreateLiveVarAnalyzer();
+ return CreateLiveVarAnalyzer(AnalyzeSpecificFunction);
case WarnDeadStores:
return CreateDeadStoreChecker(Diag);