aboutsummaryrefslogtreecommitdiff
path: root/lib/Lex/Pragma.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-01-10 00:24:58 +0000
committerChris Lattner <sabre@nondot.org>2010-01-10 00:24:58 +0000
commit804f65271953f358dc01bfcf74a93e8c93c5b2d6 (patch)
tree80aa6b0d905fa5776b57e218456b729d0bfd8532 /lib/Lex/Pragma.cpp
parent4a749b957f28292e8412b7c13b01ca4baeb78d24 (diff)
implement rdar://7520940: published framework headers should
import other headers within the same framework with the full framework path, not with a relative include. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@93083 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Lex/Pragma.cpp')
-rw-r--r--lib/Lex/Pragma.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Lex/Pragma.cpp b/lib/Lex/Pragma.cpp
index 8b46f71691..74692faf42 100644
--- a/lib/Lex/Pragma.cpp
+++ b/lib/Lex/Pragma.cpp
@@ -302,6 +302,7 @@ void Preprocessor::HandlePragmaDependency(Token &DependencyTok) {
// Search include directories for this file.
const DirectoryLookup *CurDir;
const FileEntry *File = LookupFile(FilenameStart, FilenameEnd,
+ FilenameTok.getLocation(),
isAngled, 0, CurDir);
if (File == 0) {
Diag(FilenameTok, diag::err_pp_file_not_found)