projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a53e686
)
simple fixes.
author
Zhongxing Xu
<xuzhongxing@gmail.com>
Thu, 30 Jul 2009 09:14:54 +0000
(09:14 +0000)
committer
Zhongxing Xu
<xuzhongxing@gmail.com>
Thu, 30 Jul 2009 09:14:54 +0000
(09:14 +0000)
llvm-svn: 77587
clang/lib/Frontend/AnalysisConsumer.cpp
patch
|
blob
|
history
diff --git
a/clang/lib/Frontend/AnalysisConsumer.cpp
b/clang/lib/Frontend/AnalysisConsumer.cpp
index
10bb00f
..
9c32743
100644
(file)
--- a/
clang/lib/Frontend/AnalysisConsumer.cpp
+++ b/
clang/lib/Frontend/AnalysisConsumer.cpp
@@
-366,16
+366,14
@@
static void ActionDisplayLiveVariables(AnalysisManager& mgr) {
static void ActionCFGDump(AnalysisManager& mgr) {
if (CFG* c = mgr.getCFG()) {
mgr.DisplayFunction();
- LangOptions LO; // FIXME!
- c->dump(LO);
+ c->dump(mgr.getLangOptions());
}
}
static void ActionCFGView(AnalysisManager& mgr) {
if (CFG* c = mgr.getCFG()) {
mgr.DisplayFunction();
- LangOptions LO; // FIXME!
- c->viewCFG(LO);
+ c->viewCFG(mgr.getLangOptions());
}
}