================
@@ -42,9 +42,9 @@ static llvm::Value *emitGetParamBuf(CodeGenFunction &CGF,
   Args.add(RValue::get(CGF.CGM.getSize(CharUnits::fromQuantity(64))),
            CGF.getContext().getSizeType());
   // Calculate parameter sizes.
-  const PointerType *PT = E->getCallee()->getType()->getAs<PointerType>();
+  const PointerType *PT = E->getCallee()->getType()->castAs<PointerType>();
----------------
ojhunt wrote:

Unnecessary and incorrect change. LLM?

https://github.com/llvm/llvm-project/pull/181167
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to