]> granicus.if.org Git - clang/commit
[modules] When a declaration has non-trivial visibility, check whether it's
authorRichard Smith <richard-llvm@metafoo.co.uk>
Fri, 13 Nov 2015 05:14:45 +0000 (05:14 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Fri, 13 Nov 2015 05:14:45 +0000 (05:14 +0000)
commit2a187521f3c7bde806f322da3acf905afb2b82a8
tree16b676986cbfd08c01159934b8b0fcc01fe0e5b5
parent1c0a6285d3cb84d6788249be75daa33e37af2148
[modules] When a declaration has non-trivial visibility, check whether it's
actually hidden before we check its linkage. This avoids computing the linkage
"too early" for an anonymous struct with a typedef name for linkage.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@253012 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Sema/Lookup.h
test/Modules/submodule-visibility.cpp