From: Daniel Dunbar Date: Wed, 25 Nov 2009 10:27:48 +0000 (+0000) Subject: Fix some uses of fprintf/stderr without a prototype. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=33f57f88f01b791882f8c68ac89fe2fa5e12a393;p=clang Fix some uses of fprintf/stderr without a prototype. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@89858 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Frontend/FrontendActions.cpp b/lib/Frontend/FrontendActions.cpp index 7a7537bce4..3a2f570a7a 100644 --- a/lib/Frontend/FrontendActions.cpp +++ b/lib/Frontend/FrontendActions.cpp @@ -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)); }