[modules] When an incompatible module file is explicitly provided for a module,
authorRichard Smith <richard-llvm@metafoo.co.uk>
Tue, 12 Apr 2016 19:58:30 +0000 (19:58 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Tue, 12 Apr 2016 19:58:30 +0000 (19:58 +0000)
commit58df343b76682e805bf1a90999b745a216dedc9f
tree9a76e14b56c4d3e123f9f779f0066f9ebde9226d
parent4c3fa5f9551639505513a3317fe97399557b1311
[modules] When an incompatible module file is explicitly provided for a module,
and we fall back to textual inclusion, don't require the module as a whole to
be marked available; it's OK if some other file in the same module is missing,
just as it would be if the header were explicitly marked textual.

llvm-svn: 266113
clang/lib/Lex/PPDirectives.cpp
clang/test/Modules/explicit-build-missing-files.cpp