aboutsummaryrefslogtreecommitdiff
path: root/lib/Lex/HeaderSearch.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2011-12-06 19:39:29 +0000
committerDouglas Gregor <dgregor@apple.com>2011-12-06 19:39:29 +0000
commitac252a3b0f8101a7274309e4a5cf2d5f0fdba675 (patch)
tree444e81bdd5f34b56b79a2d137b66f72566525d78 /lib/Lex/HeaderSearch.cpp
parentb80a3869b419c94ad85d2a39041c59100691bb3e (diff)
When inferring a module map for a framework, infer subframework
modules for each of its subframeworks. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@145957 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Lex/HeaderSearch.cpp')
-rw-r--r--lib/Lex/HeaderSearch.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Lex/HeaderSearch.cpp b/lib/Lex/HeaderSearch.cpp
index f090e03174..1b969b93be 100644
--- a/lib/Lex/HeaderSearch.cpp
+++ b/lib/Lex/HeaderSearch.cpp
@@ -849,7 +849,7 @@ Module *HeaderSearch::getFrameworkModule(StringRef Name,
}
// Try to infer a module map.
- return ModMap.inferFrameworkModule(Name, Dir);
+ return ModMap.inferFrameworkModule(Name, Dir, /*Parent=*/0);
}