diff options
author | Douglas Gregor <dgregor@apple.com> | 2012-01-13 22:31:52 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2012-01-13 22:31:52 +0000 |
commit | 3a5999bc1cc661a0f71e0a186d12a8cbb3c9223c (patch) | |
tree | 66874550405b1917278b80b29582967fba1881da /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 071c69cd7c114409926c9bbc29233cc8ab19841f (diff) | |
download | bcm5719-llvm-3a5999bc1cc661a0f71e0a186d12a8cbb3c9223c.tar.gz bcm5719-llvm-3a5999bc1cc661a0f71e0a186d12a8cbb3c9223c.zip |
When inferring a module for a framework, first determine whether that
framework is actually a subframework within a top-level framework. If
so, only infer a module for the top-level framework and then dig out
the appropriate submodule.
This helps us cope with an amusing subframeworks anti-pattern, where
one uses -F <framework>/Frameworks to get direct include access to the
subframeworks of a framework (which otherwise would not be
permitted).
llvm-svn: 148148
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions