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 | 0c69fd276063f80a39b885a60d7275391f9a314a (patch) | |
tree | 5377e53043e7d28c3dec26cdeeb58228f11520d8 /clang/lib/Lex/Pragma.cpp | |
parent | 1355bbdd11127d3cb98e81a38f4758f1e10a62ef (diff) | |
download | bcm5719-llvm-0c69fd276063f80a39b885a60d7275391f9a314a.tar.gz bcm5719-llvm-0c69fd276063f80a39b885a60d7275391f9a314a.zip |
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.
llvm-svn: 130246
Diffstat (limited to 'clang/lib/Lex/Pragma.cpp')
-rw-r--r-- | clang/lib/Lex/Pragma.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Lex/Pragma.cpp b/clang/lib/Lex/Pragma.cpp index 5d6ad6e7161..0c180918dc2 100644 --- a/clang/lib/Lex/Pragma.cpp +++ b/clang/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; |