Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | PR38141: check whether noexcept-specifications are equivalent in redeclarations | Richard Smith | 2018-07-12 | 1 | -0/+10 |
| | | | | llvm-svn: 336946 | ||||
* | Promote a warning on ill-formed code (redeclaration missing an exception | Richard Smith | 2015-09-30 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | 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 | ||||
* | Update all tests other than Driver/std.cpp to use -std=c++11 rather than | Richard Smith | 2011-10-13 | 1 | -1/+1 |
| | | | | | | -std=c++0x. Patch by Ahmed Charles! llvm-svn: 141900 | ||||
* | Fix test case. | Sebastian Redl | 2011-03-15 | 1 | -4/+5 |
| | | | | llvm-svn: 127699 | ||||
* | More robust check for the special C++0x operator new workaround. | Sebastian Redl | 2011-03-15 | 1 | -2/+2 |
| | | | | llvm-svn: 127692 | ||||
* | Implement a hack to work around the changing exception specification of ↵ | Sebastian Redl | 2011-03-15 | 1 | -0/+11 |
| | | | | | | operator new in C++0x. llvm-svn: 127688 | ||||
* | Propagate the new exception information to FunctionProtoType. | Sebastian Redl | 2011-03-12 | 1 | -0/+94 |
Change the interface to expose the new information and deal with the enormous fallout. Introduce the new ExceptionSpecificationType value EST_DynamicNone to more easily deal with empty throw specifications. Update the tests for noexcept and fix the various bugs uncovered, such as lack of tentative parsing support. llvm-svn: 127537 |