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