summaryrefslogtreecommitdiffstats
path: root/clang/test/Modules/auto-module-import.c
Commit message (Collapse)AuthorAgeFilesLines
* Rename Objective-C-only tests to .mDouglas Gregor2011-12-061-41/+0
| | | | llvm-svn: 145959
* When inferring a module map for a framework, infer subframeworkDouglas Gregor2011-12-061-0/+10
| | | | | | modules for each of its subframeworks. llvm-svn: 145957
* Allow inferred submodules for any (sub)module that has an umbrella headerDouglas Gregor2011-12-061-1/+1
| | | | llvm-svn: 145945
* When suggesting a module import for a #include or #import, suggest theDouglas Gregor2011-12-061-0/+11
| | | | | | | | most specific (sub)module based on the actual file we find, rather than always importing the top-level module. This means that #include'ing <Foo/Blah.h> should give us the submodule Foo.Blah. llvm-svn: 145942
* When building the main file to parse given a module map, don't skipDouglas Gregor2011-12-061-0/+1
| | | | | | | | explicit submodules or umbrella headers from submodules. Instead, build the entire module at once, and let the name-hiding mechanisms hide the contents of explicit submodules at load time. llvm-svn: 145940
* Inferred framework modules automatically export anything they importDouglas Gregor2011-12-051-0/+5
| | | | | | (i.e., 'export *'), to better match the semantics of headers. llvm-svn: 145813
* Implement name hiding for declarations deserialized from a non-visibleDouglas Gregor2011-12-011-0/+1
| | | | | | module. When that module becomes visible, so do those declarations. llvm-svn: 145640
* Introduce an opt-in warning indicating when the compiler is treatingDouglas Gregor2011-11-301-2/+2
| | | | | | an #include/#import as a module import. llvm-svn: 145500
* When we're loading a framework header, first try to turn the frameworkDouglas Gregor2011-11-171-1/+1
| | | | | | | | | into a module. This module can either be loaded from a module map in the framework directory (which isn't quite working yet) or inferred from an umbrella header (which does work, and replaces the existing hack). llvm-svn: 144877
* Add an experimental flag -fauto-module-import that automatically turnsDouglas Gregor2011-09-151-0/+13
#include or #import direcctives of framework headers into module imports of the corresponding framework module. llvm-svn: 139860
OpenPOWER on IntegriCloud