aboutsummaryrefslogtreecommitdiff
path: root/Driver/clang.cpp
diff options
context:
space:
mode:
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 08eef52acc..15384c5f1c 100644
--- a/Driver/clang.cpp
+++ b/Driver/clang.cpp
@@ -978,7 +978,8 @@ static ASTConsumer* CreateASTConsumer(const std::string& InFile,
case ParseCFGDump:
case ParseCFGView:
- return CreateCFGDumper(ProgAction == ParseCFGView);
+ return CreateCFGDumper(ProgAction == ParseCFGView,
+ AnalyzeSpecificFunction);
case AnalysisLiveVariables:
return CreateLiveVarAnalyzer();