From: Chris Lattner Date: Fri, 20 Mar 2009 21:23:42 +0000 (+0000) Subject: fix test/Preprocessor/macro_paste_mscomment.c. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7d66ebb4c2af666961640e3727e9fc7fdbce5838;p=clang fix test/Preprocessor/macro_paste_mscomment.c. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@67403 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/Driver/DependencyFile.cpp b/Driver/DependencyFile.cpp index 673ca0734a..2140afcfef 100644 --- a/Driver/DependencyFile.cpp +++ b/Driver/DependencyFile.cpp @@ -153,7 +153,7 @@ bool clang::CreateDependencyFileGen(Preprocessor *PP, bool DependencyFileCallback::FileMatchesDepCriteria(const char *Filename, SrcMgr::CharacteristicKind FileType) { if (strcmp(InputFile.c_str(), Filename) != 0 && - strcmp("", Filename) != 0) { + strcmp("", Filename) != 0) { if (GenerateDependencyFileNoSysHeaders) return FileType == SrcMgr::C_User; else diff --git a/Driver/PrintPreprocessedOutput.cpp b/Driver/PrintPreprocessedOutput.cpp index 378cc05d34..0e95c914c4 100644 --- a/Driver/PrintPreprocessedOutput.cpp +++ b/Driver/PrintPreprocessedOutput.cpp @@ -452,7 +452,7 @@ void clang::DoPrintPreprocessedInput(Preprocessor &PP, do PP.Lex(Tok); while (Tok.isNot(tok::eof) && Tok.getLocation().isFileID() && !strcmp(SourceMgr.getPresumedLoc(Tok.getLocation()).getFilename(), - "")); + "")); // Read all the preprocessed tokens, printing them out to the stream. PrintPreprocessedTokens(PP, Tok, Callbacks, OS);