aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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();