Correctly compute linkage for members of internal linkage classes.
authorRichard Smith <richard-llvm@metafoo.co.uk>
Sat, 23 Sep 2017 04:02:17 +0000 (04:02 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Sat, 23 Sep 2017 04:02:17 +0000 (04:02 +0000)
commitcdb06f2150d0c75bf7ff13971fd40075568c0226
treefb99b909cd0de44b565d5b45531d18fa74e9cd17
parent5b81dfc76eeed0c1a47ac4d5704e70c072887d04
Correctly compute linkage for members of internal linkage classes.

We used to give such members no linkage instead of giving them the linkage of
the class.

llvm-svn: 314054
clang/lib/AST/Decl.cpp
clang/test/CXX/basic/basic.link/p8.cpp