aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Analysis/AnalysisDeclContext.cpp
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2011-12-22 23:33:52 +0000
committerTed Kremenek <kremenek@apple.com>2011-12-22 23:33:52 +0000
commit72be32af88cdaf2a22a4e5d631b53347bdefcd10 (patch)
treea9833ac6ff1f3ecd6e93134bb43ce8a741ac3882 /clang/lib/Analysis/AnalysisDeclContext.cpp
parent3cef10814aedc310500d7f52e8358ae6777047dc (diff)
downloadllvm-72be32af88cdaf2a22a4e5d631b53347bdefcd10.zip
llvm-72be32af88cdaf2a22a4e5d631b53347bdefcd10.tar.gz
llvm-72be32af88cdaf2a22a4e5d631b53347bdefcd10.tar.bz2
Colorize and condense CFG pretty-printing.
llvm-svn: 147203
Diffstat (limited to 'clang/lib/Analysis/AnalysisDeclContext.cpp')
-rw-r--r--clang/lib/Analysis/AnalysisDeclContext.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/Analysis/AnalysisDeclContext.cpp b/clang/lib/Analysis/AnalysisDeclContext.cpp
index 96a92b4..5740e64 100644
--- a/clang/lib/Analysis/AnalysisDeclContext.cpp
+++ b/clang/lib/Analysis/AnalysisDeclContext.cpp
@@ -179,8 +179,8 @@ CFGReverseBlockReachabilityAnalysis *AnalysisDeclContext::getCFGReachablityAnaly
return 0;
}
-void AnalysisDeclContext::dumpCFG() {
- getCFG()->dump(getASTContext().getLangOptions());
+void AnalysisDeclContext::dumpCFG(bool ShowColors) {
+ getCFG()->dump(getASTContext().getLangOptions(), ShowColors);
}
ParentMap &AnalysisDeclContext::getParentMap() {