diff options
author | Richard Smith <richard-llvm@metafoo.co.uk> | 2014-04-08 13:13:04 +0000 |
---|---|---|
committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2014-04-08 13:13:04 +0000 |
commit | 578bfcbda27c0d5dfe4df995fb01f7ceae424382 (patch) | |
tree | d52e2f19ac86396a2775a475d742103e55c7ca97 /include | |
parent | 35a94e87046220fb3470685854b881cc0d19fb63 (diff) | |
download | clang_35a-578bfcbda27c0d5dfe4df995fb01f7ceae424382.tar.gz |
If a header is explicitly included in module A, and excluded from an umbrella
directory in module B, don't include it in module B!
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@205762 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/clang/Lex/ModuleMap.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/clang/Lex/ModuleMap.h b/include/clang/Lex/ModuleMap.h index 1cd6d385b6..2fc1ca0c26 100644 --- a/include/clang/Lex/ModuleMap.h +++ b/include/clang/Lex/ModuleMap.h @@ -242,6 +242,11 @@ public: /// marked 'unavailable'. bool isHeaderInUnavailableModule(const FileEntry *Header) const; + /// \brief Determine whether the given header is unavailable as part + /// of the specified module. + bool isHeaderUnavailableInModule(const FileEntry *Header, + Module *RequestingModule) const; + /// \brief Retrieve a module with the given name. /// /// \param Name The name of the module to look up. |