diff options
| author | David Majnemer <david.majnemer@gmail.com> | 2013-10-15 09:30:14 +0000 |
|---|---|---|
| committer | David Majnemer <david.majnemer@gmail.com> | 2013-10-15 09:30:14 +0000 |
| commit | 7752a741093888ea62e88777929fdaa4c23d0264 (patch) | |
| tree | 51b0d53e8698ba16da93dc42f47355736ac51de7 /lib/CodeGen/CGExpr.cpp | |
| parent | dd1dad988a0e5c8a0902260c1c92f56c44728d60 (diff) | |
| download | clang-7752a741093888ea62e88777929fdaa4c23d0264.tar.gz clang-7752a741093888ea62e88777929fdaa4c23d0264.tar.bz2 clang-7752a741093888ea62e88777929fdaa4c23d0264.tar.xz | |
Sema: Don't crash when __try/__except/__finally appears in a template function
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.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@192682 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExpr.cpp')
0 files changed, 0 insertions, 0 deletions
