llvm-project/clang/lib/Basic
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
..
Builtins.cpp Add a -fno-math-builtin option to the Clang -cc1 2013-07-23 00:13:01 +00:00
CMakeLists.txt Revert commits r190613, r190560 and r190557. 2013-10-01 17:31:40 +00:00
CharInfo.cpp CharInfo: Add missing "using namespace clang::charinfo" in .cpp file. 2013-02-08 22:37:49 +00:00
Diagnostic.cpp Revert r177218. 2013-05-03 23:20:27 +00:00
DiagnosticIDs.cpp Make getDiagnosticsInGroup helper method a static function in the cpp file and move the WarningOption struct into an anonymous namespace instead of clang namespace since it no longer needs to be forward declared in the header. 2013-08-29 06:06:18 +00:00
FileManager.cpp Use llvm::sys::fs::UniqueID for windows and unix. 2013-08-01 21:42:11 +00:00
FileSystemStatCache.cpp Use llvm::sys::fs::UniqueID for windows and unix. 2013-08-01 21:42:11 +00:00
IdentifierTable.cpp ObjectiveC migrator: For 'default' and 'shared' family of 2013-10-10 18:23:13 +00:00
LangOptions.cpp Add a *San + modules FIXME. 2013-02-07 01:09:29 +00:00
Makefile Use tabs instead of spaces. 2012-03-02 16:06:37 +00:00
Module.cpp Include non-explicit submodules in exported module list 2013-11-04 21:51:33 +00:00
ObjCRuntime.cpp Add a define for the ObjFW runtime ABI version. 2013-09-16 16:31:49 +00:00
OpenMPKinds.cpp [OpenMP] Added parsing and semantic analysis for firstprivate clause 2013-10-01 05:32:34 +00:00
OperatorPrecedence.cpp Replace C++0x in a comment with C++11 2013-07-14 17:04:56 +00:00
SourceLocation.cpp PR14581: Make SourceLocation::printToString work, or it will always return an empty string. 2012-12-12 14:17:17 +00:00
SourceManager.cpp SourceManager: Open code isInMainFile. 2013-09-27 17:12:50 +00:00
TargetInfo.cpp Certain multi-platform languages, such as OpenCL, have the concept of 2013-09-13 12:04:22 +00:00
Targets.cpp Driver: Add support for -march=bdver3 on x86. 2013-11-04 10:29:51 +00:00
TokenKinds.cpp Sort all of Clang's files under 'lib', and fix up the broken headers 2012-12-04 09:13:33 +00:00
Version.cpp Remove "static" on simple temporary StringRef. 2013-08-09 17:51:03 +00:00
VersionTuple.cpp Include llvm::Optional in clang/Basic/LLVM.h 2013-02-20 22:23:23 +00:00