llvm-project/clang/test/CXX/dcl.decl/dcl.meaning/dcl.fct
Nico Weber 8d26b72aca Don't crash on an invalid trailing return type on a function before a '...'
clang tries to produce a helpful diagnostic for the traiilng '...', but the
code that r216778 added for this doesn't expect an invalid trailing return type.
Add code to explicitly handle this.

Having explicit code for this but not for other things looks a bit strange, but
trailing return types are special in that they have a separate existence bit in
addition to the type (see r158348).

llvm-svn: 224974
2014-12-30 02:06:40 +00:00
..
dcl.fct.def.default
p2-cxx0x.cpp Mark that qualifiers can prefix the auto type. This seems to just have 2013-09-02 19:20:06 +00:00
p3.cpp
p6-0x.cpp PR19742: cv-qualifiers and ref-qualifiers aren't allowed on functions within 2014-05-14 23:23:27 +00:00
p6.cpp PR19742: cv-qualifiers and ref-qualifiers aren't allowed on functions within 2014-05-14 23:23:27 +00:00
p8-0x.cpp
p8.cpp Replace "can not" with "cannot" in diagnostics messages. 2014-03-07 22:36:23 +00:00
p9-0x.cpp
p13.cpp Don't crash on an invalid trailing return type on a function before a '...' 2014-12-30 02:06:40 +00:00
p14.cpp Reject varargs '...' in function prototype if there are more parameters after 2014-08-11 23:30:23 +00:00