summaryrefslogtreecommitdiff
path: root/test/Modules/Inputs/submodules
Commit message (Collapse)AuthorAge
* Allow submodule inferrences with a missing umbrella when the module is ↵Ben Langmuir2014-04-21
| | | | | | | | | unavailable If the module is unavailable because of a missing header, don't diagnose a "module * {}" declaration for having a missing umbrella. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@206776 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix a hole with nested unavailable submodules from r206664Ben Langmuir2014-04-18
| | | | | | | | 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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@206673 91177308-0d34-0410-b5e6-96231b3b80d8
* Don't build modules with (submodules with) missing headersBen Langmuir2014-04-18
| | | | | | | | 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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@206664 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix comment typo in test.Richard Smith2014-01-31
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@200584 91177308-0d34-0410-b5e6-96231b3b80d8
* Add missing file from r197485.Daniel Jasper2013-12-17
| | | | | | (Yes, the irony is not lost on me :-) ). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@197486 91177308-0d34-0410-b5e6-96231b3b80d8
* Modules: Don't warn upon missing headers while reading the module map.Daniel Jasper2013-12-17
| | | | | | | | | | | | | | | 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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@197485 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix crash if a submodule @imports another submodule from the same module. TheRichard Smith2013-10-18
| | | | | | | | test also adds FIXMEs for a number of places where imports and includes of submodules don't work very well. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@193005 91177308-0d34-0410-b5e6-96231b3b80d8
* Implement name hiding for macro definitions within modules, such thatDouglas Gregor2011-12-02
| | | | | | | | | only the macro definitions from visible (sub)modules will actually be visible. This provides the same behavior for macros that r145640 provided for declarations. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@145683 91177308-0d34-0410-b5e6-96231b3b80d8
* Implement name hiding for declarations deserialized from a non-visibleDouglas Gregor2011-12-01
| | | | | | | module. When that module becomes visible, so do those declarations. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@145640 91177308-0d34-0410-b5e6-96231b3b80d8
* When loading a module that involves submodules (e.g., std.vector),Douglas Gregor2011-11-30
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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@145477 91177308-0d34-0410-b5e6-96231b3b80d8