]> granicus.if.org Git - clang/commit
Skip through transparent contexts when deciding where to add a friend function.
authorNick Lewycky <nicholas@mxc.ca>
Fri, 16 Mar 2012 19:51:19 +0000 (19:51 +0000)
committerNick Lewycky <nicholas@mxc.ca>
Fri, 16 Mar 2012 19:51:19 +0000 (19:51 +0000)
commit9c6fde5ac9c4a696baaa637a7fb6d83fe91e1e09
treedc953d02f7d1b0c56f381ee661e6f22fcdeb45bd
parente052bda1f3f8b857fa02abeef7b97f66308225fd
Skip through transparent contexts when deciding where to add a friend function.
This fixes g++.dg/parse/friend5.C.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@152938 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaDeclCXX.cpp
test/SemaCXX/friend.cpp