summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenCXX/dynamic-cast.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Throw the switch to convert clang to the new exception handling model!Bill Wendling2011-09-191-1/+2
| | | | | | | | | | | | | This model uses the 'landingpad' instruction, which is pinned to the top of the landing pad. (A landing pad is defined as the destination of the unwind branch of an invoke instruction.) All of the information needed to generate the correct exception handling metadata during code generation is encoded into the landingpad instruction. The new 'resume' instruction takes the place of the llvm.eh.resume intrinsic call. It's lowered in much the same way as the intrinsic is. llvm-svn: 140049
* Add -fcxx-exceptions to all tests that use C++ exceptions.Anders Carlsson2011-02-281-1/+1
| | | | llvm-svn: 126599
* Tweak test so that it does not require <typeinfo>Douglas Gregor2010-05-141-5/+2
| | | | llvm-svn: 103819
* Emit an lvalue dynamic_cast even if the result is not used. AnotherDouglas Gregor2010-05-141-1/+1
| | | | | | part (or possibly all) of PR7132. llvm-svn: 103810
* When a failed dynamic_cast<T&> (which is an lvalue) results in aDouglas Gregor2010-05-141-3/+15
| | | | | | | | throw, it should use invoke when needed. The fixes the Boost.Statechrt failures that motivated PR7132, but there are a few side issues to tackle as well. llvm-svn: 103803
* Fix regression I introduced when dynamic_cast-ing to a reference type.Anders Carlsson2009-12-181-0/+8
llvm-svn: 91687
OpenPOWER on IntegriCloud