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 14304055e0d223a6dd224625b8fd128e6f711eb5 
e637dc83ec205f7e4dde356b8f5d06ce3abc899e -- clang/test/Sema/debug-93066.cpp 
debug-84072.cpp clang/lib/Sema/SemaExpr.cpp
``````````

</details>

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

``````````diff
diff --git a/debug-84072.cpp b/debug-84072.cpp
index c024f50019..7fda310d1c 100644
--- a/debug-84072.cpp
+++ b/debug-84072.cpp
@@ -1,16 +1,16 @@
 void Func(int x) {
-    switch (x) {
-        [[likely]] case 0:
-        case 1:
-            int i = 3;
-        case 2:
-            break;
-    }
-    switch (x) {
-        case 0:
-        case 1:
-            int i = 3;
-        case 2:
-            break;
-    }
+  switch (x) {
+  [[likely]] case 0:
+  case 1:
+    int i = 3;
+  case 2:
+    break;
+  }
+  switch (x) {
+  case 0:
+  case 1:
+    int i = 3;
+  case 2:
+    break;
+  }
 }

``````````

</details>


https://github.com/llvm/llvm-project/pull/94159
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to