llvm-project/clang/test/CXX/except/except.spec
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
..
canonical.cpp
p1.cpp Instantiate exception specifications when instantiating function types (other 2014-11-12 02:00:47 +00:00
p2-dynamic-types.cpp
p2-places.cpp
p3.cpp Promote a warning on ill-formed code (redeclaration missing an exception 2015-09-30 00:48:50 +00:00
p4.cpp Promote a warning on ill-formed code (redeclaration missing an exception 2015-09-30 00:48:50 +00:00
p5-delayed.cpp Delay checking overrides for exception specifications if the overridden 2014-11-22 03:09:05 +00:00
p5-pointers.cpp Promote a warning on ill-formed code (redeclaration missing an exception 2015-09-30 00:48:50 +00:00
p5-virtual.cpp
p9-dynamic.cpp Update clang to take into account the changes to personality fns 2015-06-17 20:53:19 +00:00
p9-noexcept.cpp Update clang to take into account the changes to personality fns 2015-06-17 20:53:19 +00:00
p11.cpp Clean up language and grammar. 2014-05-20 17:10:39 +00:00
p14-ir.cpp Emit DeferredDeclsToEmit in a DFS order. 2015-01-22 00:24:57 +00:00
p14.cpp
p15.cpp PR16638, DR1552: the exception specification on an implicitly-declared 2014-02-07 22:51:16 +00:00
template.cpp