llvm-project/clang/test/CXX
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
..
basic DR1684: a constexpr member function need not be a member of a literal class type. 2014-12-16 23:12:52 +00:00
class PR21437, final part of DR1330: delay-parsing of exception-specifications. This 2014-11-13 20:01:57 +00:00
class.access Add a new flag, -fspell-checking-limit=<number> to control how many times we'll do spell checking. Note that spell checking will change the produced AST, so we don't automatically change this value when someone sets -ferror-limit=. With this, merge test typo-correction-pt2.cpp into typo-correction.cpp. 2014-12-16 21:39:02 +00:00
class.derived Revert r218925 - "Patch to warn if 'override' is missing" 2014-10-03 09:02:53 +00:00
conv Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00
dcl.dcl Sema: Don't dyn_cast a null pointer in CheckUsingDeclQualifier 2014-12-17 02:41:36 +00:00
dcl.decl Don't crash on an invalid trailing return type on a function before a '...' 2014-12-30 02:06:40 +00:00
drs DR1048: drop top-level cv-qualifiers when deducing the return type of a 2014-12-19 22:10:51 +00:00
except Delay checking overrides for exception specifications if the overridden 2014-11-22 03:09:05 +00:00
expr DR1048: drop top-level cv-qualifiers when deducing the return type of a 2014-12-19 22:10:51 +00:00
lex Add driver flags -ftrigraphs, -fno-trigraphs. 2014-12-23 22:32:37 +00:00
over Implement [over.match.oper]p3 properly, by filtering the non-candidates out 2014-04-17 01:52:14 +00:00
special Replace "can not" with "cannot" in diagnostics messages. 2014-03-07 22:36:23 +00:00
stmt.stmt Reword switch/goto diagnostics "protected scope" diagnostics. Making up a term 2014-09-06 00:24:58 +00:00
temp PR21531: fix crash on invalid with unexpanded pack in case value. 2014-11-20 01:24:12 +00:00