llvm-project/clang/test/CXX/class
Richard Smith 8ce732b46f DR674, PR38883, PR40238: Qualified friend lookup should look for a
template specialization if there is no matching non-template function.

This exposed a couple of related bugs:
 - we would sometimes substitute into a friend template instead of a
   suitable non-friend declaration; this would now crash because we'd
   decide the specialization of the friend is a redeclaration of itself
 - ADL failed to properly handle the case where an invisible local
   extern declaration redeclares an invisible friend

Both are fixed herein: in particular, we now never make invisible
friends or local extern declarations visible to name lookup unless
they are the only declaration of the entity. (We already mostly did
this for local extern declarations.)

llvm-svn: 350505
2019-01-07 06:00:46 +00:00
..
class.base/class.base.init
class.bit Implement DR2229, which prohibits unnamed bit-fields from having qualifiers in C++. 2018-03-17 21:08:40 +00:00
class.friend DR674, PR38883, PR40238: Qualified friend lookup should look for a 2019-01-07 06:00:46 +00:00
class.local
class.mem Related to PR37768: improve diagnostics for class name shadowing. 2018-06-20 21:58:20 +00:00
class.mfct/class.mfct.non-static revert changes from r311851. 2017-08-27 19:00:08 +00:00
class.nest
class.nested.type
class.static/class.static.data Don't warn about runtime behavior problems in variable initializers that we 2017-09-23 18:27:11 +00:00
class.union Adjust and fix failing CXX tests after r332799 2018-05-19 03:33:56 +00:00
p1-0x.cpp
p2-0x.cpp
p6-0x.cpp