From: Chris Lattner Date: Sun, 9 Mar 2008 04:49:35 +0000 (+0000) Subject: improve comment. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7d39d742383ade80c9d937729bfc539c6c978845;p=clang improve comment. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@48083 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/Lex/PPLexerChange.cpp b/Lex/PPLexerChange.cpp index ed4e1ebf16..c5998c93ef 100644 --- a/Lex/PPLexerChange.cpp +++ b/Lex/PPLexerChange.cpp @@ -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();