return true;
}
-// FIXME: This shouldn't be here?
static unsigned PrintActions1(const ArgList &Args,
Action *A,
std::map<Action*, unsigned> &Ids) {
unsigned Id = Ids.size();
Ids[A] = Id;
- llvm::outs() << Id << ": " << os.str() << ", "
+ llvm::errs() << Id << ": " << os.str() << ", "
<< types::getTypeName(A->getType()) << "\n";
return Id;
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) {