[PATCH] D17752: [MSVC Compat] Correctly handle finallys nested within finallys
Reid Kleckner via cfe-commits
cfe-commits at lists.llvm.org
Tue Mar 1 09:37:21 PST 2016
rnk added inline comments.
================
Comment at: lib/CodeGen/CGException.cpp:1680-1682
@@ -1679,4 +1679,5 @@
StartFunction(GlobalDecl(), RetTy, Fn, FnInfo, Args,
OutlinedStmt->getLocStart(), OutlinedStmt->getLocStart());
+ CurCodeDecl = ParentCGF.CurCodeDecl;
----------------
Let's have a new field for this. We don't want most of the behavior controlled by CurCodeDecl in the rest of CodeGen.
http://reviews.llvm.org/D17752
More information about the cfe-commits
mailing list