[cfe-commits] r66906 - /cfe/trunk/lib/Driver/Driver.cpp
Daniel Dunbar
daniel at zuster.org
Fri Mar 13 10:20:20 PDT 2009
Author: ddunbar
Date: Fri Mar 13 12:20:20 2009
New Revision: 66906
URL: http://llvm.org/viewvc/llvm-project?rev=66906&view=rev
Log:
Driver: Print -ccc-print-phases on stderr.
Modified:
cfe/trunk/lib/Driver/Driver.cpp
Modified: cfe/trunk/lib/Driver/Driver.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Driver/Driver.cpp?rev=66906&r1=66905&r2=66906&view=diff
==============================================================================
--- cfe/trunk/lib/Driver/Driver.cpp (original)
+++ cfe/trunk/lib/Driver/Driver.cpp Fri Mar 13 12:20:20 2009
@@ -232,7 +232,6 @@
return true;
}
-// FIXME: This shouldn't be here?
static unsigned PrintActions1(const ArgList &Args,
Action *A,
std::map<Action*, unsigned> &Ids) {
@@ -261,7 +260,7 @@
unsigned Id = Ids.size();
Ids[A] = Id;
- llvm::outs() << Id << ": " << os.str() << ", "
+ llvm::errs() << Id << ": " << os.str() << ", "
<< types::getTypeName(A->getType()) << "\n";
return Id;
@@ -271,9 +270,8 @@
const ActionList &Actions) const {
std::map<Action*, unsigned> Ids;
for (ActionList::const_iterator it = Actions.begin(), ie = Actions.end();
- it != ie; ++it) {
+ it != ie; ++it)
PrintActions1(Args, *it, Ids);
- }
}
void Driver::BuildUniversalActions(ArgList &Args, ActionList &Actions) {
More information about the cfe-commits
mailing list