From 7d66ebb4c2af666961640e3727e9fc7fdbce5838 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Fri, 20 Mar 2009 21:23:42 +0000 Subject: [PATCH] fix test/Preprocessor/macro_paste_mscomment.c. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@67403 91177308-0d34-0410-b5e6-96231b3b80d8 --- Driver/DependencyFile.cpp | 2 +- Driver/PrintPreprocessedOutput.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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); -- 2.40.0