]> granicus.if.org Git - clang/commit
Revert "Address http://bugs.llvm.org/pr30994 so that a non-friend can properly replac...
authorBenjamin Kramer <benny.kra@googlemail.com>
Mon, 17 Apr 2017 20:57:40 +0000 (20:57 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Mon, 17 Apr 2017 20:57:40 +0000 (20:57 +0000)
commit4b44baf46b47a7e6addbaed0b4c7c99a5e0647fb
tree1c4e09b481791062a5772782ffa8a80fdc25af62
parent9f2031f243b0978a11ffa1a52e4e79a63ee8d52d
Revert "Address http://bugs.llvm.org/pr30994 so that a non-friend can properly replace a friend, and a visible friend can properly replace an invisible friend but not vice verse, and definitions are not replaced. This fixes the two FIXME in SemaTemplate/friend-template.cpp."

This reverts commit r300443. Breaks compiling libc++ with modules in
some configurations.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@300497 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/AST/DeclBase.h
lib/AST/Decl.cpp
lib/AST/DeclBase.cpp
test/SemaTemplate/friend-template.cpp