llvm-project/clang/lib/Serialization
Dmitri Gribenko e9bcf5b7b1 Include non-explicit submodules in exported module list
This change fixes Richard's testcase for r193815.  Now we include non-explicit
submodules into the list of exports.

The test failed previously because:
- recursive_visibility_a1.inner is not imported (only recursive_visibility_a1 is),
- thus the 'inner' submodule is not showing up in any of the import lists,
- and because of this getExportedModules() is not returning the
  correct module set -- it only considers modules that are imported.

The fix is to make Module::getExportedModules() include non-explicit submodules
into the list of exports.

llvm-svn: 194018
2013-11-04 21:51:33 +00:00
..
ASTCommon.cpp Make UsingShadowDecls redeclarable. This fixes some visibility problems with 2013-10-23 02:17:46 +00:00
ASTCommon.h Note when a decl is used in AST files. 2013-09-05 00:02:25 +00:00
ASTReader.cpp Include non-explicit submodules in exported module list 2013-11-04 21:51:33 +00:00
ASTReaderDecl.cpp Implement final resolution of DR1402: implicitly-declared move operators that 2013-11-04 01:48:18 +00:00
ASTReaderInternals.h Enhance the ObjC global method pool to record whether there were 0, 1, or >= 2 methods (with a particular selector) inside categories. 2013-04-17 00:08:58 +00:00
ASTReaderStmt.cpp [OpenMP] Added parsing and semantic analysis for firstprivate clause 2013-10-01 05:32:34 +00:00
ASTWriter.cpp Implement final resolution of DR1402: implicitly-declared move operators that 2013-11-04 01:48:18 +00:00
ASTWriterDecl.cpp ObjectiveC: under -Wunused-property-ivar warn if property's 2013-10-25 21:44:50 +00:00
ASTWriterStmt.cpp [OpenMP] Added parsing and semantic analysis for firstprivate clause 2013-10-01 05:32:34 +00:00
CMakeLists.txt Implement the writer side of the global module index. 2013-01-23 22:38:11 +00:00
GeneratePCH.cpp [libclang] Allow building a precompiled preamble with compiler errors 2013-06-11 00:36:55 +00:00
GlobalModuleIndex.cpp I am about to change llvm::MemoryBuffer::getFile take take a Twine. Change 2013-10-25 19:00:49 +00:00
Makefile Reintroduce the serialization library, with fixed dependencies. 2010-08-17 20:43:28 +00:00
Module.cpp [PCH] We don't need to instantiate HeaderFileInfoTrait in ASTReader more than once. 2013-03-06 18:12:44 +00:00
ModuleManager.cpp Add a bit more info to modules fatal error. 2013-09-05 23:50:58 +00:00