summaryrefslogtreecommitdiff
path: root/lib/CodeGen/CGExprComplex.cpp
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2013-07-15 17:27:42 +0000
committerChandler Carruth <chandlerc@gmail.com>2013-07-15 17:27:42 +0000
commit52c2575fc77a51f36129be89d1a0a90e31617a57 (patch)
tree52a58b1198dc6b00ffc5f20bcc3484d35f74a91b /lib/CodeGen/CGExprComplex.cpp
parent0c368787d9d1f92a3408b71b3f074a06edaa6bde (diff)
downloadclang-52c2575fc77a51f36129be89d1a0a90e31617a57.tar.gz
clang-52c2575fc77a51f36129be89d1a0a90e31617a57.tar.bz2
clang-52c2575fc77a51f36129be89d1a0a90e31617a57.tar.xz
Re-revert r86040, which was un-reverted in r186199.
This breaks the build of basic patterns with repeated friend declarations. See the added test case in SemaCXX/friend.cpp or the test case reported to the original commit log. 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@186331 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExprComplex.cpp')
0 files changed, 0 insertions, 0 deletions