summaryrefslogtreecommitdiffstats
path: root/clang/test/Modules/Inputs/submodules
Commit message (Collapse)AuthorAgeFilesLines
* Allow submodule inferrences with a missing umbrella when the module is ↵Ben Langmuir2014-04-211-0/+6
| | | | | | | | | unavailable If the module is unavailable because of a missing header, don't diagnose a "module * {}" declaration for having a missing umbrella. llvm-svn: 206776
* Fix a hole with nested unavailable submodules from r206664Ben Langmuir2014-04-181-0/+1
| | | | | | | | If a module doesn't meet a requirement, neither do its submodules. If we don't propogate that, we might think it's an error to be missing a header in one of those submodules. llvm-svn: 206673
* Don't build modules with (submodules with) missing headersBen Langmuir2014-04-181-0/+8
| | | | | | | | Unless they are in submodules that aren't available anyway, due to requirements not being met. Also, mark children as unavailable when the parent is. llvm-svn: 206664
* Fix comment typo in test.Richard Smith2014-01-311-1/+3
| | | | llvm-svn: 200584
* Add missing file from r197485.Daniel Jasper2013-12-171-0/+2
| | | | | | (Yes, the irony is not lost on me :-) ). llvm-svn: 197486
* Modules: Don't warn upon missing headers while reading the module map.Daniel Jasper2013-12-171-0/+5
| | | | | | | | | | | | | | | Instead, mark the module as unavailable so that clang errors as soon as someone tries to build this module. This works towards the long-term goal of not stat'ing the header files at all while reading the module map and instead read them only when the module is being built (there is a corresponding FIXME in parseHeaderDecl()). However, it seems non-trivial to get there and this unblock us and moves us into the right direction. Also changed the implementation to reuse the same DiagnosticsEngine. llvm-svn: 197485
* Fix crash if a submodule @imports another submodule from the same module. TheRichard Smith2013-10-185-0/+20
| | | | | | | test also adds FIXMEs for a number of places where imports and includes of submodules don't work very well. llvm-svn: 193005
* Implement name hiding for macro definitions within modules, such thatDouglas Gregor2011-12-023-0/+8
| | | | | | | | 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
* Implement name hiding for declarations deserialized from a non-visibleDouglas Gregor2011-12-013-1/+3
| | | | | | module. When that module becomes visible, so do those declarations. llvm-svn: 145640
* When loading a module that involves submodules (e.g., std.vector),Douglas Gregor2011-11-303-0/+14
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