Print macro to ostream instead of llvm::errs().

This commit is contained in:
CristinaCristescu 2013-10-29 09:59:35 +01:00 committed by sftnight
parent 4a8b33b878
commit ab014ac72b

View File

@ -250,7 +250,7 @@ namespace cling {
for (clang::Preprocessor::macro_iterator I = PP.macro_begin(),
E = PP.macro_end(); I != E; ++I) {
const MacroInfo* MI = (*I).second->getMacroInfo();
PP.DumpMacro(*MI);
PP.printMacro(*MI, Out);
}
}
} // end namespace cling