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 HEAD~1 HEAD --extensions h,cpp -- clang/test/CodeGenCXX/bpf-debug-structors.cpp clang/lib/CodeGen/CodeGenModule.cpp clang/lib/CodeGen/CodeGenModule.h `````````` </details> <details> <summary> View the diff from clang-format here. </summary> ``````````diff diff --git a/clang/lib/CodeGen/CodeGenModule.cpp b/clang/lib/CodeGen/CodeGenModule.cpp index 249a84c39..b46eaf375 100644 --- a/clang/lib/CodeGen/CodeGenModule.cpp +++ b/clang/lib/CodeGen/CodeGenModule.cpp @@ -5399,7 +5399,7 @@ void CodeGenModule::EmitExternalDeclaration(const DeclaratorDecl *D) { llvm::Constant *Addr = GetAddrOfGlobal(GD)->stripPointerCasts(); if (const auto *VD = dyn_cast<VarDecl>(D)) { DI->EmitExternalVariable( - cast<llvm::GlobalVariable>(Addr->stripPointerCasts()), VD); + cast<llvm::GlobalVariable>(Addr->stripPointerCasts()), VD); } else if (const auto *FD = dyn_cast<FunctionDecl>(D)) { llvm::Function *Fn = cast<llvm::Function>(Addr); if (!Fn->getSubprogram()) `````````` </details> https://github.com/llvm/llvm-project/pull/137079 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits