]> granicus.if.org Git - clang/commit
[modules] If both a module file and a module map for the same module are
authorRichard Smith <richard-llvm@metafoo.co.uk>
Mon, 28 Mar 2016 21:31:09 +0000 (21:31 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Mon, 28 Mar 2016 21:31:09 +0000 (21:31 +0000)
commit0ca9501cf55fb80b0517135f426d51f529b62e7b
tree6215a5a1b12979b8ffb1d750a536c9d8548f5a2d
parent015626ce7ceaeb8dfe35c8f13d9ad94eec29661f
[modules] If both a module file and a module map for the same module are
explicitly provided, and the module map lists a header that does not exist,
unmark the module as 'unavailable' when loading its .pcm file. (Use of the
module might still fail if the relevant headers aren't embedded, but this
behavior is now consistent with how we behave if the module map is not
provided, and with the desired behavior for embedding headers in modules.)

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@264664 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Serialization/ASTReader.cpp
test/Modules/embed-files.cpp