[PATCH] D14796: Preserve exceptions information during calls code generation.
John McCall via cfe-commits
cfe-commits at lists.llvm.org
Wed Nov 18 18:54:05 PST 2015
rjmccall added a comment.
That's exactly what I was looking for, thanks.
================
Comment at: lib/CodeGen/CGExpr.cpp:3751
@@ +3750,3 @@
+ // Preserve the function proto type because it contains useful information
+ // that we may be interested in using later on in the code generation.
+ const FunctionProtoType *InitalFTP = CalleeType->getAs<PointerType>()
----------------
Please work the following clarification into this comment: we specifically need to preserve the non-canonical function type because things like exception specifications disappear in the canonical type.
http://reviews.llvm.org/D14796
More information about the cfe-commits
mailing list