[PATCH] D158233: [SEH] Fix wrong argument passes to the call of OutlinedFinally.

Reid Kleckner via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Aug 21 16:05:35 PDT 2023


rnk accepted this revision.
rnk added a comment.
This revision is now accepted and ready to land.

lgtm, thanks!



================
Comment at: clang/lib/CodeGen/CGCleanup.cpp:881
+      // to indicate abnormal termination)
+      const FunctionDecl *FD = dyn_cast_or_null<FunctionDecl>(CurFuncDecl);
       if (!Scope.hasBranchThroughs() && !HasFixups && !HasFallthrough &&
----------------
I think `FD` is unused now that you use `currentFunctionUsesSEHTry`


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D158233/new/

https://reviews.llvm.org/D158233



More information about the cfe-commits mailing list