aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-03-20 21:23:42 +0000
committerChris Lattner <sabre@nondot.org>2009-03-20 21:23:42 +0000
commit7d66ebb4c2af666961640e3727e9fc7fdbce5838 (patch)
tree9f5184b16b237988fe766754b246173c32cafc1b
parentebf9ed3193e3e2f32141781bd517369a58dbab61 (diff)
fix test/Preprocessor/macro_paste_mscomment.c.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@67403 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--Driver/DependencyFile.cpp2
-rw-r--r--Driver/PrintPreprocessedOutput.cpp2
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("<predefines>", Filename) != 0) {
+ strcmp("<built-in>", 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(),
- "<predefines>"));
+ "<built-in>"));
// Read all the preprocessed tokens, printing them out to the stream.
PrintPreprocessedTokens(PP, Tok, Callbacks, OS);