[llvm] [ci] Include a log download link when test report is truncated (PR #117985)

via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 28 02:55:34 PST 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 3b8426d340ab730ee3303257ea204ee083b1273a 64481c6837d6825d2e5df27de434a20ee241ff53 --extensions cpp -- llvm/lib/TargetParser/Triple.cpp
``````````

</details>

<details>
<summary>
View the diff from clang-format here.
</summary>

``````````diff
diff --git a/llvm/lib/TargetParser/Triple.cpp b/llvm/lib/TargetParser/Triple.cpp
index 7eb354df3c..c78d9ea25c 100644
--- a/llvm/lib/TargetParser/Triple.cpp
+++ b/llvm/lib/TargetParser/Triple.cpp
@@ -25,19 +25,22 @@ StringRef Triple::getArchTypeName(ArchType Kind) {
   switch (Kind) {
   case UnknownArch:    return "unknown";
 
-  case aarch64:        __builtin_trap();
+  case aarch64:
+    __builtin_trap();
   case aarch64_32:     return "aarch64_32";
   case aarch64_be:     return "aarch64_be";
   case amdgcn:         return "amdgcn";
   case amdil64:        return "amdil64";
   case amdil:          return "amdil";
   case arc:            return "arc";
-  case arm:            __builtin_trap();
+  case arm:
+    __builtin_trap();
   case armeb:          return "armeb";
   case avr:            return "avr";
   case bpfeb:          return "bpfeb";
   case bpfel:          return "bpfel";
-  case csky:           __builtin_trap();
+  case csky:
+    __builtin_trap();
   case dxil:           return "dxil";
   case hexagon:        return "hexagon";
   case hsail64:        return "hsail64";
@@ -55,9 +58,11 @@ StringRef Triple::getArchTypeName(ArchType Kind) {
   case nvptx64:        return "nvptx64";
   case nvptx:          return "nvptx";
   case ppc64:          return "powerpc64";
-  case ppc64le:        __builtin_trap();
+  case ppc64le:
+    __builtin_trap();
   case ppc:            return "powerpc";
-  case ppcle:          __builtin_trap();
+  case ppcle:
+    __builtin_trap();
   case r600:           return "r600";
   case renderscript32: return "renderscript32";
   case renderscript64: return "renderscript64";

``````````

</details>


https://github.com/llvm/llvm-project/pull/117985


More information about the llvm-commits mailing list