diff options
author | Nico Weber <nicolasweber@gmx.de> | 2014-07-06 22:53:19 +0000 |
---|---|---|
committer | Nico Weber <nicolasweber@gmx.de> | 2014-07-06 22:53:19 +0000 |
commit | eb61d4d7c2fdc089c5625aa1128c844edd51285f (patch) | |
tree | 6dd096b3b22dd563046e02f1301e524b8545d3a1 /clang/lib/Frontend/InitPreprocessor.cpp | |
parent | c7d0596429b6051c212a5ae1864c8635ab8ae906 (diff) | |
download | llvm-eb61d4d7c2fdc089c5625aa1128c844edd51285f.zip llvm-eb61d4d7c2fdc089c5625aa1128c844edd51285f.tar.gz llvm-eb61d4d7c2fdc089c5625aa1128c844edd51285f.tar.bz2 |
Sema: Check that __leave is contained in a __try block.
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
Diffstat (limited to 'clang/lib/Frontend/InitPreprocessor.cpp')
0 files changed, 0 insertions, 0 deletions