[cfe-commits] r48083 - /cfe/trunk/Lex/PPLexerChange.cpp

Chris Lattner sabre at nondot.org
Sat Mar 8 20:49:35 PST 2008


Author: lattner
Date: Sat Mar  8 22:49:35 2008
New Revision: 48083

URL: http://llvm.org/viewvc/llvm-project?rev=48083&view=rev
Log:
improve comment.

Modified:
    cfe/trunk/Lex/PPLexerChange.cpp

Modified: cfe/trunk/Lex/PPLexerChange.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/Lex/PPLexerChange.cpp?rev=48083&r1=48082&r2=48083&view=diff

==============================================================================
--- cfe/trunk/Lex/PPLexerChange.cpp (original)
+++ cfe/trunk/Lex/PPLexerChange.cpp Sat Mar  8 22:49:35 2008
@@ -29,7 +29,7 @@
 //===----------------------------------------------------------------------===//
 
 /// isInPrimaryFile - Return true if we're in the top-level file, not in a
-/// #include.
+/// #include.  This looks through macro expansions and active _Pragma lexers.
 bool Preprocessor::isInPrimaryFile() const {
   if (CurLexer && !CurLexer->Is_PragmaLexer)
     return IncludeMacroStack.empty();





More information about the cfe-commits mailing list