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 e1a073c9d9b85804c46353c5a66c44fe212525ed fb8b76aca00b97166e56fcaefc241850b2535f94 --extensions cpp,h -- clang/lib/CodeGen/CGBlocks.cpp llvm/include/llvm/IR/DerivedTypes.h llvm/lib/IR/Type.cpp `````````` </details> <details> <summary> View the diff from clang-format here. </summary> ``````````diff diff --git a/llvm/lib/IR/Type.cpp b/llvm/lib/IR/Type.cpp index 2252e4fb39..d05749945f 100644 --- a/llvm/lib/IR/Type.cpp +++ b/llvm/lib/IR/Type.cpp @@ -365,7 +365,7 @@ bool FunctionType::isValidArgumentType(Type *ArgTy) { // FunctionCallee Implementation //===----------------------------------------------------------------------===// -Function* FunctionCallee::getAsFunction() { +Function *FunctionCallee::getAsFunction() { return cast<llvm::Function>(Callee); } `````````` </details> https://github.com/llvm/llvm-project/pull/111740 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits