summaryrefslogtreecommitdiffstats
path: root/clang/lib/Lex/PPDirectives.cpp
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2008-11-20 16:19:53 +0000
committerTed Kremenek <kremenek@apple.com>2008-11-20 16:19:53 +0000
commit6bc5f3ec9062b33c7987922827156095757bb8e9 (patch)
treed7eb7a614942dedcd6b4ff3c9b18f1c09a2eba7e /clang/lib/Lex/PPDirectives.cpp
parentb6df273d2ce2520604fe003b0a5ad6dba7202c11 (diff)
downloadbcm5719-llvm-6bc5f3ec9062b33c7987922827156095757bb8e9.tar.gz
bcm5719-llvm-6bc5f3ec9062b33c7987922827156095757bb8e9.zip
Rename IsNonPragmaNonMacroLexer to IsFileLexer.
llvm-svn: 59731
Diffstat (limited to 'clang/lib/Lex/PPDirectives.cpp')
-rw-r--r--clang/lib/Lex/PPDirectives.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/Lex/PPDirectives.cpp b/clang/lib/Lex/PPDirectives.cpp
index 42e44a59363..0a7d2dba78f 100644
--- a/clang/lib/Lex/PPDirectives.cpp
+++ b/clang/lib/Lex/PPDirectives.cpp
@@ -317,7 +317,7 @@ const FileEntry *Preprocessor::LookupFile(const char *FilenameStart,
// Otherwise, see if this is a subframework header. If so, this is relative
// to one of the headers on the #include stack. Walk the list of the current
// headers on the #include stack and pass them to HeaderInfo.
- if (IsNonPragmaNonMacroLexer()) {
+ if (IsFileLexer()) {
if ((CurFileEnt = SourceMgr.getFileEntryForID(CurPPLexer->getFileID())))
if ((FE = HeaderInfo.LookupSubframeworkHeader(FilenameStart, FilenameEnd,
CurFileEnt)))
@@ -326,7 +326,7 @@ const FileEntry *Preprocessor::LookupFile(const char *FilenameStart,
for (unsigned i = 0, e = IncludeMacroStack.size(); i != e; ++i) {
IncludeStackInfo &ISEntry = IncludeMacroStack[e-i-1];
- if (IsNonPragmaNonMacroLexer(ISEntry)) {
+ if (IsFileLexer(ISEntry)) {
if ((CurFileEnt =
SourceMgr.getFileEntryForID(ISEntry.ThePPLexer->getFileID())))
if ((FE = HeaderInfo.LookupSubframeworkHeader(FilenameStart,
OpenPOWER on IntegriCloud