[clang] [PAC] Re-sign a pointer to a noexcept member function when it is converted to a pointer to a member function without noexcept (PR #109056)

Pranav Kant via cfe-commits cfe-commits at lists.llvm.org
Wed Oct 9 20:29:57 PDT 2024


================
@@ -924,17 +924,20 @@ ItaniumCXXABI::EmitMemberPointerConversion(CodeGenFunction &CGF,
   if (isa<llvm::Constant>(src))
     return EmitMemberPointerConversion(E, cast<llvm::Constant>(src));
 
+  QualType DstType = E->getType(), SrcType = E->getSubExpr()->getType();
----------------
pranavk wrote:

`SrcType` is unused in non-assert builds.

https://github.com/llvm/llvm-project/pull/109056


More information about the cfe-commits mailing list