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 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits