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 bd29197fd8448265dbf8e370a8a21a477cd50f5a 746c51563292dd42145ea18414dadf9acf18aea2 -- clang/lib/Driver/ToolChains/Clang.cpp clang/test/Driver/mcmodel.c `````````` </details> <details> <summary> View the diff from clang-format here. </summary> ``````````diff diff --git a/clang/lib/Driver/ToolChains/Clang.cpp b/clang/lib/Driver/ToolChains/Clang.cpp index 18e3d833bb61..1942403127b2 100644 --- a/clang/lib/Driver/ToolChains/Clang.cpp +++ b/clang/lib/Driver/ToolChains/Clang.cpp @@ -5753,7 +5753,8 @@ void Clang::ConstructJob(Compilation &C, const JobAction &JA, // AMDGPU target does not accept CM tiny and kernel. if (CM == "tiny" || CM == "kernel") { // tiny and kernel are ignored by backend - D.Diag(diag::warn_ignored_clang_option) << A->getSpelling() << CM << TripleStr; + D.Diag(diag::warn_ignored_clang_option) + << A->getSpelling() << CM << TripleStr; } } if (Ok) { `````````` </details> https://github.com/llvm/llvm-project/pull/71019 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits