]> granicus.if.org Git - clang/commit
[MSVC Compat] Correctly handle finallys nested within finallys
authorDavid Majnemer <david.majnemer@gmail.com>
Tue, 1 Mar 2016 19:42:53 +0000 (19:42 +0000)
committerDavid Majnemer <david.majnemer@gmail.com>
Tue, 1 Mar 2016 19:42:53 +0000 (19:42 +0000)
commit7cd5e16c007698b4f41784e154d445b780d83f12
tree867243570c99ae31f88cc5cd216704246cf7489b
parentf96f7cbbbfefea6c093a80f08069abb55bea1578
[MSVC Compat] Correctly handle finallys nested within finallys

We'd lose track of the parent CodeGenFunction, leading us to get
confused with regard to which function a nested finally belonged to.

Differential Revision: http://reviews.llvm.org/D17752

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@262379 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGException.cpp
lib/CodeGen/CodeGenFunction.cpp
lib/CodeGen/CodeGenFunction.h
test/CodeGen/exceptions-seh-finally.c