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 139688a699f6db784bd559b147334f1d51314f9c 09940c37f0b9075b4a2c06e39932f1f772a2a13f --extensions h,c,cpp -- clang/test/CodeGen/attr-debug-transparent-method-warning.cpp clang/test/CodeGen/attr-debug-transparent-method.cpp clang/test/CodeGen/attr-debug-transparent-no-warning.c clang/test/CodeGen/attr-debug-transparent-warning.c clang/test/CodeGen/attr-debug-transparent.c clang/test/Sema/attr-debug-transparent.c clang/test/SemaCXX/attr-debug-transparent-method.cpp clang/lib/CodeGen/CGDebugInfo.cpp llvm/include/llvm/IR/DebugInfoMetadata.h llvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp llvm/unittests/IR/MetadataTest.cpp `````````` </details> <details> <summary> View the diff from clang-format here. </summary> ``````````diff diff --git a/clang/lib/CodeGen/CGDebugInfo.cpp b/clang/lib/CodeGen/CGDebugInfo.cpp index fe576d9c7f..2f9e749ca2 100644 --- a/clang/lib/CodeGen/CGDebugInfo.cpp +++ b/clang/lib/CodeGen/CGDebugInfo.cpp @@ -116,7 +116,8 @@ static bool usesDebugTransparent(const Decl *D, const CodeGenModule &CGM) { if (auto *attr = D->getAttr<DebugTransparentAttr>()) { if (CGM.getCodeGenOpts().DwarfVersion == 0) { - CGM.getDiags().Report(attr->getLocation(), diag::warn_debug_transparent_ignored); + CGM.getDiags().Report(attr->getLocation(), + diag::warn_debug_transparent_ignored); } return true; } `````````` </details> https://github.com/llvm/llvm-project/pull/110188 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits