aboutsummaryrefslogtreecommitdiff
path: root/lib/Lex
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2013-01-25 01:50:28 +0000
committerDaniel Dunbar <daniel@zuster.org>2013-01-25 01:50:28 +0000
commit1ea6bc0fd9c1ff9fa03e8a829a79c4167445d503 (patch)
tree9fb383cb4bd963b1569f45571b565bc2cc1d8751 /lib/Lex
parent1d32133b44487d9e98412e373d693416b05920bb (diff)
[Lex] Remove DirectoryLookup.UserSpecified, which is unused.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@173409 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Lex')
-rw-r--r--lib/Lex/PPDirectives.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Lex/PPDirectives.cpp b/lib/Lex/PPDirectives.cpp
index 156ebd21f9..74376e47ac 100644
--- a/lib/Lex/PPDirectives.cpp
+++ b/lib/Lex/PPDirectives.cpp
@@ -1376,7 +1376,7 @@ void Preprocessor::HandleIncludeDirective(SourceLocation HashLoc,
if (Callbacks->FileNotFound(Filename, RecoveryPath)) {
if (const DirectoryEntry *DE = FileMgr.getDirectory(RecoveryPath)) {
// Add the recovery path to the list of search paths.
- DirectoryLookup DL(DE, SrcMgr::C_User, true, false);
+ DirectoryLookup DL(DE, SrcMgr::C_User, false);
HeaderInfo.AddSearchPath(DL, isAngled);
// Try the lookup again, skipping the cache.