aboutsummaryrefslogtreecommitdiff
path: root/clang/test/Modules/submodules-preprocess.cpp
AgeCommit message (Collapse)AuthorFilesLines
2015-06-16[modules] Simplify -cc1 interface for enabling implicit module maps.Richard Smith1-1/+1
We used to have a flag to enable module maps, and two more flags to enable implicit module maps. This is all redundant; we don't need any flag for enabling module maps in the abstract, and we don't usually have -fno- flags for -cc1. We now have just a single flag, -fimplicit-module-maps, that enables implicitly searching the file system for module map files and loading them. The driver interface is unchanged for now. We should probably rename -fmodule-maps to -fimplicit-module-maps at some point. llvm-svn: 239789
2013-02-07Rename -fmodule-cache-path <blah> to -fmodules-cache-path=<blah> for ↵Douglas Gregor1-1/+1
consistency. llvm-svn: 174645
2012-12-11Use @import rather than @__experimental_modules_import, since theDouglas Gregor1-5/+5
latter is rather a mess to type. llvm-svn: 169919
2012-03-01Change @import to @__experimental_modules_import. We are not ready to ↵Ted Kremenek1-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
2012-01-03Eliminate the uglified keyword __import_module__ for importingDouglas Gregor1-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
2012-01-03Rename the command-line option for mapping #include/#import over toDouglas Gregor1-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
2011-12-02Implement name hiding for macro definitions within modules, such thatDouglas Gregor1-4/+50
only the macro definitions from visible (sub)modules will actually be visible. This provides the same behavior for macros that r145640 provided for declarations. llvm-svn: 145683
2011-12-01Implement name hiding for declarations deserialized from a non-visibleDouglas Gregor1-0/+14
module. When that module becomes visible, so do those declarations. llvm-svn: 145640