[cfe-commits] r89858 - /cfe/trunk/lib/Frontend/FrontendActions.cpp
Daniel Dunbar
daniel at zuster.org
Wed Nov 25 02:27:49 PST 2009
Author: ddunbar
Date: Wed Nov 25 04:27:48 2009
New Revision: 89858
URL: http://llvm.org/viewvc/llvm-project?rev=89858&view=rev
Log:
Fix some uses of fprintf/stderr without a prototype.
Modified:
cfe/trunk/lib/Frontend/FrontendActions.cpp
Modified: cfe/trunk/lib/Frontend/FrontendActions.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Frontend/FrontendActions.cpp?rev=89858&r1=89857&r2=89858&view=diff
==============================================================================
--- cfe/trunk/lib/Frontend/FrontendActions.cpp (original)
+++ cfe/trunk/lib/Frontend/FrontendActions.cpp Wed Nov 25 04:27:48 2009
@@ -199,7 +199,7 @@
RawLex.LexFromRawLexer(RawTok);
while (RawTok.isNot(tok::eof)) {
PP.DumpToken(RawTok, true);
- fprintf(stderr, "\n");
+ llvm::errs() << "\n";
RawLex.LexFromRawLexer(RawTok);
}
}
@@ -212,7 +212,7 @@
do {
PP.Lex(Tok);
PP.DumpToken(Tok, true);
- fprintf(stderr, "\n");
+ llvm::errs() << "\n";
} while (Tok.isNot(tok::eof));
}
More information about the cfe-commits
mailing list