================
@@ -458,44 +459,39 @@ void createRegisterFatbinFunction(Module &M, 
GlobalVariable *FatbinDesc,
   DtorFunc->setSection(".text.startup");
 
   // Get the __cudaRegisterFatBinary function declaration.
-  auto *RegFatTy = FunctionType::get(PointerType::getUnqual(C)->getPointerTo(),
-                                     PointerType::getUnqual(C),
+  auto *RegFatTy = FunctionType::get(PtrTy, PtrTy,
                                      /*isVarArg*/ false);
----------------
jhuber6 wrote:

Can you fix these while you're at it, they should use the LLVM-style block 
comments.
```suggestion
                                     /*isVarArg=*/false);
```

https://github.com/llvm/llvm-project/pull/73374
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to