[cfe-commits] r77587 - /cfe/trunk/lib/Frontend/AnalysisConsumer.cpp
Zhongxing Xu
xuzhongxing at gmail.com
Thu Jul 30 02:14:55 PDT 2009
Author: zhongxingxu
Date: Thu Jul 30 04:14:54 2009
New Revision: 77587
URL: http://llvm.org/viewvc/llvm-project?rev=77587&view=rev
Log:
simple fixes.
Modified:
cfe/trunk/lib/Frontend/AnalysisConsumer.cpp
Modified: cfe/trunk/lib/Frontend/AnalysisConsumer.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Frontend/AnalysisConsumer.cpp?rev=77587&r1=77586&r2=77587&view=diff
==============================================================================
--- cfe/trunk/lib/Frontend/AnalysisConsumer.cpp (original)
+++ cfe/trunk/lib/Frontend/AnalysisConsumer.cpp Thu Jul 30 04:14:54 2009
@@ -366,16 +366,14 @@
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());
}
}
More information about the cfe-commits
mailing list