diff options
author | Ted Kremenek <kremenek@apple.com> | 2008-11-20 16:19:53 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2008-11-20 16:19:53 +0000 |
commit | 81d24e135c60dcbe421864e6a4334ba99b8fe7ec (patch) | |
tree | 0c5e46819885d412f9049fae5747e3d84cc62596 /include/clang/Lex/Preprocessor.h | |
parent | a88fcef963b32d802440286d773557eb2ce8e230 (diff) |
Rename IsNonPragmaNonMacroLexer to IsFileLexer.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@59731 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Lex/Preprocessor.h')
-rw-r--r-- | include/clang/Lex/Preprocessor.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/include/clang/Lex/Preprocessor.h b/include/clang/Lex/Preprocessor.h index a92df2ccc4..925c45f2b9 100644 --- a/include/clang/Lex/Preprocessor.h +++ b/include/clang/Lex/Preprocessor.h @@ -611,7 +611,7 @@ private: - static bool IsNonPragmaNonMacroLexer(const Lexer* L, + static bool IsFileLexer(const Lexer* L, const PreprocessorLexer* P) { if (L) return !L->isPragmaLexer(); @@ -619,12 +619,12 @@ private: return P != 0; } - static bool IsNonPragmaNonMacroLexer(const IncludeStackInfo& I) { - return IsNonPragmaNonMacroLexer(I.TheLexer, I.ThePPLexer); + static bool IsFileLexer(const IncludeStackInfo& I) { + return IsFileLexer(I.TheLexer, I.ThePPLexer); } - bool IsNonPragmaNonMacroLexer() const { - return IsNonPragmaNonMacroLexer(CurLexer.get(), CurPPLexer); + bool IsFileLexer() const { + return IsFileLexer(CurLexer.get(), CurPPLexer); } //===--------------------------------------------------------------------===// |