[modules] When explicitly importing a module, it's fine for the imported module
authorRichard Smith <richard-llvm@metafoo.co.uk>
Fri, 21 Nov 2014 05:37:20 +0000 (05:37 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Fri, 21 Nov 2014 05:37:20 +0000 (05:37 +0000)
commit5b39075668813a4b35dcc5ed6006fc1224ac2b19
tree54b64235c52573cbcb17b20e555991c7abf132c4
parente06124799b20ea006d7c32973c86f961f0dc396f
[modules] When explicitly importing a module, it's fine for the imported module
to be newer than we were expecting. That happens if .pcm's get moved between
file systems during a distributed build. (It's still not OK for them to actually
be different, though, so we still check the size and signature matches.)

llvm-svn: 222507
clang/lib/Serialization/ModuleManager.cpp
clang/test/Modules/explicit-build.cpp