forked from OSchip/llvm-project
Unqualified templated constructors cannot be friended and our lack of a diagnostic led to violated invariants. Instead, raise a diagnostic when processing the friend declaration. This fixes PR20251. llvm-svn: 248953 |
||
|---|---|---|
| .. | ||
| class.base/class.base.init | ||
| class.bit | ||
| class.friend | ||
| class.local | ||
| class.mem | ||
| class.mfct/class.mfct.non-static | ||
| class.nest | ||
| class.nested.type | ||
| class.static/class.static.data | ||
| class.union | ||
| p1-0x.cpp | ||
| p2-0x.cpp | ||
| p6-0x.cpp | ||