]> granicus.if.org Git - clang/commitdiff
improve comment.
authorChris Lattner <sabre@nondot.org>
Sun, 9 Mar 2008 04:49:35 +0000 (04:49 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 9 Mar 2008 04:49:35 +0000 (04:49 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@48083 91177308-0d34-0410-b5e6-96231b3b80d8

Lex/PPLexerChange.cpp

index ed4e1ebf162b8e06ec028213ffa9f799be855d88..c5998c93ef91c7d3add5d466d0da5c28304ccadf 100644 (file)
@@ -29,7 +29,7 @@ PPCallbacks::~PPCallbacks() {
 //===----------------------------------------------------------------------===//
 
 /// 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();