summaryrefslogtreecommitdiff
path: root/lib/CodeGen/CGExprAgg.cpp
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2013-07-17 23:53:16 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2013-07-17 23:53:16 +0000
commit22050f25e34ba0cd21ee2dc3d765951c48e27cde (patch)
tree4c2d1f9f8a67ae67468bb595a6429c3e193b3914 /lib/CodeGen/CGExprAgg.cpp
parent7dab97b5af44556453c13cf877e02b8ea4c6c1cf (diff)
downloadclang-22050f25e34ba0cd21ee2dc3d765951c48e27cde.tar.gz
clang-22050f25e34ba0cd21ee2dc3d765951c48e27cde.tar.bz2
clang-22050f25e34ba0cd21ee2dc3d765951c48e27cde.tar.xz
Reinstate r186040, with additional fixes and more test coverage (reverted in
r186331). Original commit log: If we friend a declaration twice, that should not make it visible to name lookup in the surrounding context. Slightly rework how we handle friend declarations to inherit the visibility of the prior declaration, rather than setting a friend declaration to be visible whenever there was a prior declaration. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@186546 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExprAgg.cpp')
0 files changed, 0 insertions, 0 deletions