summaryrefslogtreecommitdiffstats
path: root/clang/lib/Lex/Pragma.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2011-09-15 22:00:41 +0000
committerDouglas Gregor <dgregor@apple.com>2011-09-15 22:00:41 +0000
commit97eec24b0bc245fc96ac9615899c3d15a6bc8b3e (patch)
tree8e370157e8487174f6169a4c1431ba7d82ec3804 /clang/lib/Lex/Pragma.cpp
parent112ec17e1b536cf292e168696b3ebcd173e249f3 (diff)
downloadbcm5719-llvm-97eec24b0bc245fc96ac9615899c3d15a6bc8b3e.tar.gz
bcm5719-llvm-97eec24b0bc245fc96ac9615899c3d15a6bc8b3e.zip
Add an experimental flag -fauto-module-import that automatically turns
#include or #import direcctives of framework headers into module imports of the corresponding framework module. llvm-svn: 139860
Diffstat (limited to 'clang/lib/Lex/Pragma.cpp')
-rw-r--r--clang/lib/Lex/Pragma.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/lib/Lex/Pragma.cpp b/clang/lib/Lex/Pragma.cpp
index 92c0dd53207..f738d1de9c7 100644
--- a/clang/lib/Lex/Pragma.cpp
+++ b/clang/lib/Lex/Pragma.cpp
@@ -366,7 +366,8 @@ void Preprocessor::HandlePragmaDependency(Token &DependencyTok) {
// Search include directories for this file.
const DirectoryLookup *CurDir;
- const FileEntry *File = LookupFile(Filename, isAngled, 0, CurDir, NULL, NULL);
+ const FileEntry *File = LookupFile(Filename, isAngled, 0, CurDir, NULL, NULL,
+ NULL);
if (File == 0) {
if (!SuppressIncludeNotFoundError)
Diag(FilenameTok, diag::err_pp_file_not_found) << Filename;
OpenPOWER on IntegriCloud