[cfe-commits] r67403 - in /cfe/trunk/Driver: DependencyFile.cpp PrintPreprocessedOutput.cpp

Chris Lattner sabre at nondot.org
Fri Mar 20 14:23:43 PDT 2009


Author: lattner
Date: Fri Mar 20 16:23:42 2009
New Revision: 67403

URL: http://llvm.org/viewvc/llvm-project?rev=67403&view=rev
Log:
fix test/Preprocessor/macro_paste_mscomment.c.

Modified:
    cfe/trunk/Driver/DependencyFile.cpp
    cfe/trunk/Driver/PrintPreprocessedOutput.cpp

Modified: cfe/trunk/Driver/DependencyFile.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/Driver/DependencyFile.cpp?rev=67403&r1=67402&r2=67403&view=diff

==============================================================================
--- cfe/trunk/Driver/DependencyFile.cpp (original)
+++ cfe/trunk/Driver/DependencyFile.cpp Fri Mar 20 16:23:42 2009
@@ -153,7 +153,7 @@
 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

Modified: cfe/trunk/Driver/PrintPreprocessedOutput.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/Driver/PrintPreprocessedOutput.cpp?rev=67403&r1=67402&r2=67403&view=diff

==============================================================================
--- cfe/trunk/Driver/PrintPreprocessedOutput.cpp (original)
+++ cfe/trunk/Driver/PrintPreprocessedOutput.cpp Fri Mar 20 16:23:42 2009
@@ -452,7 +452,7 @@
     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);





More information about the cfe-commits mailing list