summaryrefslogtreecommitdiffstats
path: root/clang/test/Modules/submodules.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Change @import to @__experimental_modules_import. We are not ready to ↵Ted Kremenek2012-03-011-5/+5
| | | | | | | | commit to a particular syntax for modules, and don't have time to push it forward in the near future. llvm-svn: 151841
* Eliminate the uglified keyword __import_module__ for importingDouglas Gregor2012-01-031-6/+7
| | | | | | | | | | | | | modules. This leaves us without an explicit syntax for importing modules in C/C++, because such a syntax needs to be discussed first. In Objective-C/Objective-C++, the @import syntax is used to import modules. Note that, under -fmodules, C/C++ programs can import modules via the #include mechanism when a module map is in place for that header. This allows us to work with modules in C/C++ without committing to a syntax. llvm-svn: 147467
* Rename the command-line option for mapping #include/#import over toDouglas Gregor2012-01-031-1/+1
| | | | | | | | module imports from -fauto-module-import to -fmodules. The new name will eventually be used to enable modules, and the #include/#import mapping is a crucial part of the feature. llvm-svn: 147447
* Implement name hiding for declarations deserialized from a non-visibleDouglas Gregor2011-12-011-1/+22
| | | | | | module. When that module becomes visible, so do those declarations. llvm-svn: 145640
* Add preprocessor-only test for submodule importsDouglas Gregor2011-11-301-0/+1
| | | | llvm-svn: 145490
* When loading a module that involves submodules (e.g., std.vector),Douglas Gregor2011-11-301-0/+6
check whether the named submodules themselves are actually valid, and drill down to the named submodule (although we don't do anything with it yet). Perform typo correction on the submodule names when possible. llvm-svn: 145477
OpenPOWER on IntegriCloud