github-actions[bot] wrote: <!--LLVM CODE FORMAT COMMENT: {clang-format}-->
:warning: C/C++ code formatter, clang-format found issues in your code. :warning: <details> <summary> You can test this locally with the following command: </summary> ``````````bash git-clang-format --diff 12563ea6403f6f5a467862732b92db3517626cd2 3d46f90bc8cf5d94ea5adae80bc9c96e11958b32 -- clang/tools/clang-linker-wrapper/OffloadWrapper.cpp `````````` </details> <details> <summary> View the diff from clang-format here. </summary> ``````````diff diff --git a/clang/tools/clang-linker-wrapper/OffloadWrapper.cpp b/clang/tools/clang-linker-wrapper/OffloadWrapper.cpp index 398f34de53..fa313706c8 100644 --- a/clang/tools/clang-linker-wrapper/OffloadWrapper.cpp +++ b/clang/tools/clang-linker-wrapper/OffloadWrapper.cpp @@ -461,23 +461,23 @@ void createRegisterFatbinFunction(Module &M, GlobalVariable *FatbinDesc, // Get the __cudaRegisterFatBinary function declaration. auto *RegFatTy = FunctionType::get(PtrTy, PtrTy, - /*isVarArg=*/ false); + /*isVarArg=*/false); FunctionCallee RegFatbin = M.getOrInsertFunction( IsHIP ? "__hipRegisterFatBinary" : "__cudaRegisterFatBinary", RegFatTy); // Get the __cudaRegisterFatBinaryEnd function declaration. auto *RegFatEndTy = FunctionType::get(Type::getVoidTy(C), PtrTy, - /*isVarArg=*/ false); + /*isVarArg=*/false); FunctionCallee RegFatbinEnd = M.getOrInsertFunction("__cudaRegisterFatBinaryEnd", RegFatEndTy); // Get the __cudaUnregisterFatBinary function declaration. auto *UnregFatTy = FunctionType::get(Type::getVoidTy(C), PtrTy, - /*isVarArg=*/ false); + /*isVarArg=*/false); FunctionCallee UnregFatbin = M.getOrInsertFunction( IsHIP ? "__hipUnregisterFatBinary" : "__cudaUnregisterFatBinary", UnregFatTy); auto *AtExitTy = FunctionType::get(Type::getInt32Ty(C), PtrTy, - /*isVarArg=*/ false); + /*isVarArg=*/false); FunctionCallee AtExit = M.getOrInsertFunction("atexit", AtExitTy); auto *BinaryHandleGlobal = new llvm::GlobalVariable( `````````` </details> 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