]> granicus.if.org Git - clang/commitdiff
Fix some uses of fprintf/stderr without a prototype.
authorDaniel Dunbar <daniel@zuster.org>
Wed, 25 Nov 2009 10:27:48 +0000 (10:27 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Wed, 25 Nov 2009 10:27:48 +0000 (10:27 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@89858 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Frontend/FrontendActions.cpp

index 7a7537bce40fa9031ff0b3be68f23db40c6ff05a..3a2f570a7a5c90b4a53c0e45832bf150d90e98e7 100644 (file)
@@ -199,7 +199,7 @@ void DumpRawTokensAction::ExecuteAction() {
   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 @@ void DumpTokensAction::ExecuteAction() {
   do {
     PP.Lex(Tok);
     PP.DumpToken(Tok, true);
-    fprintf(stderr, "\n");
+    llvm::errs() << "\n";
   } while (Tok.isNot(tok::eof));
 }