================
@@ -26,7 +26,7 @@ static llvm::Value *emitGetParamBuf(CodeGenFunction &CGF,
                                     const CUDAKernelCallExpr *E) {
   auto *GetParamBuf = CGF.getContext().getcudaGetParameterBufferDecl();
   const FunctionProtoType *GetParamBufProto =
-      GetParamBuf->getType()->getAs<FunctionProtoType>();
+      GetParamBuf->getType()->castAs<FunctionProtoType>();
----------------
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