llvm-project/clang/test/CXX
David Majnemer e14d530497 [Sema] Don't crash when friending an unqualified templated constructor
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
2015-09-30 22:07:43 +00:00
..
basic [Sema] main can't be declared as global variable, in C++. 2015-08-14 14:13:29 +00:00
class [Sema] Don't crash when friending an unqualified templated constructor 2015-09-30 22:07:43 +00:00
class.access [modules] In C++, stop serializing and deserializing a list of declarations in 2015-07-21 23:54:07 +00:00
class.derived PR6037 2015-01-19 01:44:02 +00:00
concepts-ts/dcl.dcl/dcl.spec/dcl.concept [Concepts] Moving tests to match the corresponding section of the TS 2015-09-18 02:50:53 +00:00
conv PR6037 2015-01-19 01:44:02 +00:00
dcl.dcl PR24612: Don't bail out of checking a constexpr function before checking 2015-08-28 22:33:53 +00:00
dcl.decl [Sema] Emit a better diagnostic when variable redeclarations disagree 2015-07-14 20:08:49 +00:00
drs Promote a warning on ill-formed code (redeclaration missing an exception 2015-09-30 00:48:50 +00:00
except Promote a warning on ill-formed code (redeclaration missing an exception 2015-09-30 00:48:50 +00:00
expr Clarify the error message when the reason the conversion is not viable is because the returned value does not match the function return type. 2015-08-25 22:18:46 +00:00
lex [Lex] A source-file new-line in a raw string literal results in a new-line 2015-09-23 16:04:47 +00:00
over [Sema] Be consistent about diagnostic wording: always use "cannot". 2015-08-15 15:23:14 +00:00
special Unify warnings/errors from "maybe you meant" to "did you mean". 2015-04-02 22:10:06 +00:00
stmt.stmt Sema: Allow 'constexpr' variables in range loops 2015-02-18 18:34:59 +00:00
temp PR20073: promote "dereference of 'void*'" from Extension to ExtWarn. 2015-05-19 01:41:12 +00:00