diff options
author | Manuel Klimek <klimek@google.com> | 2011-04-26 21:50:03 +0000 |
---|---|---|
committer | Manuel Klimek <klimek@google.com> | 2011-04-26 21:50:03 +0000 |
commit | 7412494982c8b50c90961302c3a718633b2c3ab7 (patch) | |
tree | adaafb2743679b7df8e36cd214a9648c6db08318 /lib/Lex/Pragma.cpp | |
parent | 37833b00d282cacb7dd1b9889e2a113eed9190ff (diff) |
To be able to replay compilations we need to accurately remodel how
includes get resolved, especially when they are found relatively to
another include file. We also try to get it working for framework
includes, but that part of the code is untested, as I don't have a code
base that uses it.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@130246 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Lex/Pragma.cpp')
-rw-r--r-- | lib/Lex/Pragma.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Lex/Pragma.cpp b/lib/Lex/Pragma.cpp index 5d6ad6e716..0c180918dc 100644 --- a/lib/Lex/Pragma.cpp +++ b/lib/Lex/Pragma.cpp @@ -368,7 +368,7 @@ void Preprocessor::HandlePragmaDependency(Token &DependencyTok) { // Search include directories for this file. const DirectoryLookup *CurDir; - const FileEntry *File = LookupFile(Filename, isAngled, 0, CurDir, NULL); + const FileEntry *File = LookupFile(Filename, isAngled, 0, CurDir, NULL, NULL); if (File == 0) { Diag(FilenameTok, diag::err_pp_file_not_found) << Filename; return; |