summaryrefslogtreecommitdiffstats
path: root/clang/test/CXX/expr/expr.unary/expr.unary.noexcept/sema.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Adding a -Wunused-value warning for expressions with side effects used in an ↵Aaron Ballman2014-12-171-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 Friedman2013-06-251-0/+4
| | | | | | | Specifically, CallExpr::getCalleeDecl() can return null, so make sure to handle that correctly. llvm-svn: 184813
* Fix noexcept for delete expressions.Eli Friedman2013-06-251-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 Gibbs2012-10-191-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 thanRichard Smith2011-10-131-1/+1
| | | | | | -std=c++0x. Patch by Ahmed Charles! llvm-svn: 141900
* PR9899: handle pseudo-destructors correctly in noexcept() expressions.Eli Friedman2011-05-121-0/+3
| | | | llvm-svn: 131220
* PR9882: Fix noexcept to deal with dependent new, delete, calls, andEli Friedman2011-05-111-0/+10
| | | | | | dynamic_cast correctly. llvm-svn: 131177
* Extend the noexcept expression test to test noexcept specification functions.Sebastian Redl2011-03-151-0/+4
| | | | llvm-svn: 127693
* Add -fcxx-exceptions to all tests that use C++ exceptions.Anders Carlsson2011-02-281-1/+1
| | | | llvm-svn: 126599
* Pass -fexceptions to all tests that use try/catch/throw.Anders Carlsson2011-02-191-1/+1
| | | | llvm-svn: 126037
* Test destructors in delete expressions and of temporaries for throwing.Sebastian Redl2010-09-101-1/+11
| | | | llvm-svn: 113664
* Address Doug's comments.Sebastian Redl2010-09-101-0/+2
| | | | llvm-svn: 113650
* Add another small test case.Sebastian Redl2010-09-101-0/+1
| | | | llvm-svn: 113628
* Tests for noexcept in templates.Sebastian Redl2010-09-101-0/+31
| | | | llvm-svn: 113625
* First version of a testcase, plus fixes.Sebastian Redl2010-09-101-0/+128
llvm-svn: 113624
OpenPOWER on IntegriCloud