[llvm] [CI][format] Explicitly pass extensions to git-clang-format (take 2) (PR #98227)
via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 9 14:36:44 PDT 2024
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 af21bc19172410f29606cac82a96c33d6710fe38 0cf09f60e233ecdd158632f67c0c1f186d68a333 -- llvm/lib/CodeGen/MLRegAllocEvictAdvisor.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/llvm/lib/CodeGen/MLRegAllocEvictAdvisor.cpp b/llvm/lib/CodeGen/MLRegAllocEvictAdvisor.cpp
index 536984e6c9..bfcb484ee9 100644
--- a/llvm/lib/CodeGen/MLRegAllocEvictAdvisor.cpp
+++ b/llvm/lib/CodeGen/MLRegAllocEvictAdvisor.cpp
@@ -10,7 +10,8 @@
//
//===----------------------------------------------------------------------===//
-// This line should never get through the formatting job clang-format please format this into something that is actually reasonable.
+// This line should never get through the formatting job clang-format please
+// format this into something that is actually reasonable.
#include "AllocationOrder.h"
#include "RegAllocEvictionAdvisor.h"
``````````
</details>
https://github.com/llvm/llvm-project/pull/98227
More information about the llvm-commits
mailing list