summaryrefslogtreecommitdiffstats
path: root/clang/test/CXX/expr/expr.unary/expr.unary.noexcept
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Revert r241620 and follow-up commits" and move the initializationAdrian Prantl2015-07-081-0/+1
| | | | | | of the llvm targets from clang/CodeGen into ClangCheck.cpp and CIndex.cpp. llvm-svn: 241653
* Revert r241620 and follow-up commits while investigating linux buildbot ↵Adrian Prantl2015-07-071-1/+0
| | | | | | failures. llvm-svn: 241642
* Wrap clang modules and pch files in an object file container.Adrian Prantl2015-07-071-0/+1
| | | | | | | | | | | | | This patch adds ObjectFilePCHContainerOperations uses the LLVM backend to put the contents of a PCH into a __clangast section inside a COFF, ELF, or Mach-O object file container. This is done to facilitate module debugging by makeing it possible to store the debug info for the types defined by a module alongside the AST. rdar://problem/20091852 llvm-svn: 241620
* Revert "Wrap clang module files in a Mach-O, ELF, or COFF container."Adrian Prantl2015-02-251-1/+0
| | | | llvm-svn: 230454
* Wrap clang module files in a Mach-O, ELF, or COFF container.Adrian Prantl2015-02-251-0/+1
| | | | | | | | | | | | | | | | | This is a necessary prerequisite for debugging with modules. The .pcm files become containers that hold the serialized AST which allows us to store debug information in the module file that can be shared by all object files that were built importing the module. This reapplies r230044 with a fixed configure+make build and updated dependencies and testcase requirements. Over the last iteration this version adds - missing target requirements for testcases that specify an x86 triple, - a missing clangCodeGen.a dependency to libClang.a in the make build. rdar://problem/19104245 llvm-svn: 230423
* 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-132-4/+4
| | | | | | -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-282-4/+4
| | | | llvm-svn: 126599
* Pass -fexceptions to all tests that use try/catch/throw.Anders Carlsson2011-02-192-4/+4
| | | | 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-102-2/+4
| | | | llvm-svn: 113650
* Eli helped me understand how evaluation contexts work.Sebastian Redl2010-09-101-2/+13
| | | | llvm-svn: 113642
* Test CXXNoexceptExpr codegen and serialization.Sebastian Redl2010-09-102-0/+23
| | | | llvm-svn: 113630
* 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