clang/test/Modules/Inputs/unnecessary-module-map-parsing
Daniel Jasper 71b119ca18 Modules: Don't warn upon missing headers while reading the module map.
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
2013-12-17 10:31:37 +00:00
..
a1.h
module.map Modules: Don't warn upon missing headers while reading the module map. 2013-12-17 10:31:37 +00:00