summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaCXX/__try.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Fix Sema tests using __try by adding tripleReid Kleckner2015-04-281-1/+1
| | | | llvm-svn: 236057
* Sema: Check that __leave is contained in a __try block.Nico Weber2014-07-061-2/+1
| | | | | | | | | Give scope a SEHTryScope bit, set that in ParseSEHTry(), and let Sema walk the scope chain to find the SEHTry parent on __leave statements. (They are rare enough that it seems better to do the walk instead of giving Scope a SEHTryParent pointer -- this is similar to AtCatchScope.) llvm-svn: 212422
* Add parser support for __leave (sema and onward still missing).Nico Weber2014-07-061-1/+12
| | | | llvm-svn: 212421
* Sema: Don't crash when __try/__except/__finally appears in a template functionDavid Majnemer2013-10-151-0/+20
| | | | | | | | | | | We wouldn't transform the compound statement in any of these forms, causing crashes when it got time to act on them. Additionally, we wouldn't check to see if the handler was invalid before deciding whether or not we should continue acting on the __try. This fixes PR17584. llvm-svn: 192682
* 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
* Parsing/AST support for Structured Exception HandlingJohn Wiegley2011-04-281-0/+58
Patch authored by Sohail Somani. Provide parsing and AST support for Windows structured exception handling. llvm-svn: 130366
OpenPOWER on IntegriCloud