зеркало из https://github.com/microsoft/clang-1.git
improve comment.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@48083 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Родитель
1072509e12
Коммит
7d39d74238
|
@ -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();
|
||||
|
|
Загрузка…
Ссылка в новой задаче