aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2008-03-09 04:49:35 +0000
committerChris Lattner <sabre@nondot.org>2008-03-09 04:49:35 +0000
commit7d39d742383ade80c9d937729bfc539c6c978845 (patch)
tree7b7643d44b352ee011f4222c43094fec7b7d9740
parent1072509e126e70c85652ab0056bcabd72edff7e5 (diff)
improve comment.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@48083 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--Lex/PPLexerChange.cpp2
1 files changed, 1 insertions, 1 deletions
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();