Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Adding a -Wunused-value warning for expressions with side effects used in an ↵ | Aaron Ballman | 2014-12-17 | 1 | -1/+1 |
| | | | | | | unevaluated expression context, such as sizeof(), or decltype(). Also adds a similar warning when the expression passed to typeid() *is* evaluated, since it is equally likely that the user would expect the expression operand to be unevaluated in that case. llvm-svn: 224465 | ||||
* | Fix regression from r184810. | Eli Friedman | 2013-06-25 | 1 | -0/+4 |
| | | | | | | | Specifically, CallExpr::getCalleeDecl() can return null, so make sure to handle that correctly. llvm-svn: 184813 | ||||
* | Fix noexcept for delete expressions. | Eli Friedman | 2013-06-25 | 1 | -1/+4 |
| | | | | | | | Using "delete" on a pointer to an incomplete type can't throw. While I'm here, clean up the signature of the canCalleeThrow() helper. llvm-svn: 184810 | ||||
* | Prior to adding the new "expected-no-diagnostics" directive to ↵ | Andy Gibbs | 2012-10-19 | 1 | -0/+1 |
| | | | | | | VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. llvm-svn: 166280 | ||||
* | 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 | ||||
* | PR9899: handle pseudo-destructors correctly in noexcept() expressions. | Eli Friedman | 2011-05-12 | 1 | -0/+3 |
| | | | | llvm-svn: 131220 | ||||
* | PR9882: Fix noexcept to deal with dependent new, delete, calls, and | Eli Friedman | 2011-05-11 | 1 | -0/+10 |
| | | | | | | dynamic_cast correctly. llvm-svn: 131177 | ||||
* | Extend the noexcept expression test to test noexcept specification functions. | Sebastian Redl | 2011-03-15 | 1 | -0/+4 |
| | | | | llvm-svn: 127693 | ||||
* | Add -fcxx-exceptions to all tests that use C++ exceptions. | Anders Carlsson | 2011-02-28 | 1 | -1/+1 |
| | | | | llvm-svn: 126599 | ||||
* | Pass -fexceptions to all tests that use try/catch/throw. | Anders Carlsson | 2011-02-19 | 1 | -1/+1 |
| | | | | llvm-svn: 126037 | ||||
* | Test destructors in delete expressions and of temporaries for throwing. | Sebastian Redl | 2010-09-10 | 1 | -1/+11 |
| | | | | llvm-svn: 113664 | ||||
* | Address Doug's comments. | Sebastian Redl | 2010-09-10 | 1 | -0/+2 |
| | | | | llvm-svn: 113650 | ||||
* | Add another small test case. | Sebastian Redl | 2010-09-10 | 1 | -0/+1 |
| | | | | llvm-svn: 113628 | ||||
* | Tests for noexcept in templates. | Sebastian Redl | 2010-09-10 | 1 | -0/+31 |
| | | | | llvm-svn: 113625 | ||||
* | First version of a testcase, plus fixes. | Sebastian Redl | 2010-09-10 | 1 | -0/+128 |
llvm-svn: 113624 |