[PATCH] D47988: [CodeGen] Emit MSVC funclet IR for Obj-C exceptions
Shoaib Meenai via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Jun 22 14:37:11 PDT 2018
smeenai added inline comments.
================
Comment at: lib/CodeGen/CGCXXABI.h:248
+ llvm_unreachable("Only needed for the Microsoft ABI");
+ }
----------------
rjmccall wrote:
> Should you just generalize the existing method to only take a VarDecl* so it can be used for either kind of catch?
The Itanium version of emitBeginCatch actually uses the statement for location info (it calls `getLocStart` on it). I suppose I could generalize the existing method to take both a VarDecl* and a SourceLocation though.
Repository:
rC Clang
https://reviews.llvm.org/D47988
More information about the cfe-commits
mailing list