[modules] This check is run before we resolve the header, not after, so just
authorRichard Smith <richard-llvm@metafoo.co.uk>
Tue, 10 Mar 2015 00:19:04 +0000 (00:19 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Tue, 10 Mar 2015 00:19:04 +0000 (00:19 +0000)
commit2708e52029451d9337106cbcad2e12225af1219b
treec88b3b7e0d8886b9ef212b0fb6df1e5c75eaaf86
parent2547f93e95c8f06a1589615b923be9445f41e581
[modules] This check is run before we resolve the header, not after, so just
check that private headers are in a list matching the role. (We can't perform
the opposite checks for non-private headers because we infer those.)

llvm-svn: 231728
clang/lib/Lex/ModuleMap.cpp
clang/test/Modules/public-private.modulemap