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 |
||
|---|---|---|
| .. | ||
| p1-ambiguous.cpp | ||
| p1-cxx11.cpp | ||
| p1.cpp | ||
| p2.cpp | ||
| p6.cpp | ||