llvm-project/clang/test/CXX/drs
Richard Smith a91de375f2 Promote a warning on ill-formed code (redeclaration missing an exception
specification) to an error. No compiler other than Clang seems to allow this,
and it doesn't seem like a useful thing to accept as an extension in general.

The current behavior was added for PR5957, where the problem was specifically
related to mismatches of the exception specification on the implicitly-declared
global operator new and delete. To retain that workaround, we downgrade the
error to an ExtWarn when the declaration is of a replaceable global allocation
function.

Now that this is an error, stop trying (and failing) to recover from a missing
computed noexcept specification. That recovery didn't work, and led to crashes
in code like the added testcase.

llvm-svn: 248867
2015-09-30 00:48:50 +00:00
..
dr0xx.cpp Update cxx_dr_status to latest issues list. 2015-05-14 19:07:47 +00:00
dr1xx.cpp Promote a warning on ill-formed code (redeclaration missing an exception 2015-09-30 00:48:50 +00:00
dr2xx.cpp DR295: cv-qualifiers on function types are ignored in C++. 2015-05-14 19:10:42 +00:00
dr3xx.cpp DR1909: Diagnose all invalid cases of a class member sharing its name with the class. 2015-07-06 01:45:27 +00:00
dr4xx.cpp Move fixit for const init from note to diag, weaken to warning in MS mode. 2015-04-17 08:32:38 +00:00
dr5xx.cpp Promote a warning on ill-formed code (redeclaration missing an exception 2015-09-30 00:48:50 +00:00
dr6xx.cpp PR22208: On FreeBSD systems, __STDC_MB_MIGHT_NEQ_WC__ is expected to be defined 2015-01-13 01:47:45 +00:00
dr7xx.cpp Mark DR777 only as fixed in clang SVN. 2015-03-27 17:38:35 +00:00
dr9xx.cpp [Parse] Allow 'constexpr' in condition declarations 2015-06-25 22:06:40 +00:00
dr10xx.cpp DR1048: drop top-level cv-qualifiers when deducing the return type of a 2014-12-19 22:10:51 +00:00
dr13xx.cpp Run DR tests in C++17 mode too. 2014-09-28 21:56:04 +00:00
dr14xx.cpp DR1467: If aggregate initialization encounters an initializer list for which 2015-02-16 04:42:59 +00:00
dr15xx.cpp Re-arrange DR test cases, and update DR status page. 2015-01-28 01:01:21 +00:00
dr16xx.cpp Improve the "braces around scalar init" warning to determine whether to warn 2015-02-12 01:50:05 +00:00
dr17xx.cpp Re-arrange DR test cases, and update DR status page. 2015-01-28 01:01:21 +00:00
dr18xx.cpp DR1684: a constexpr member function need not be a member of a literal class type. 2014-12-16 23:12:52 +00:00
dr19xx.cpp DR1909: Diagnose all invalid cases of a class member sharing its name with the class. 2015-07-06 01:45:27 +00:00
dr412.cpp C++14: Disable sized deallocation by default due to ABI breakage 2015-03-20 00:31:07 +00:00
dr1748.cpp Update cxx_dr_status to cover dr1748 and add test. 2015-02-14 03:38:31 +00:00