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 a45080f09181517c9c5eb5099a6b6ac67a48424a 
d5caa1a22c90c7d3b1fd995c3ae980f02e4c14c9 -- clang/lib/Sema/SemaType.cpp 
clang/test/Sema/arm-vector-types-support.c clang/utils/TableGen/NeonEmitter.cpp
``````````

</details>

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

``````````diff
diff --git a/clang/lib/Sema/SemaType.cpp b/clang/lib/Sema/SemaType.cpp
index 9c0d043725..c49c59f2b7 100644
--- a/clang/lib/Sema/SemaType.cpp
+++ b/clang/lib/Sema/SemaType.cpp
@@ -8088,10 +8088,9 @@ static void HandleNeonVectorTypeAttr(QualType &CurType, 
const ParsedAttr &Attr,
   // not to need a separate attribute)
   if (!(S.Context.getTargetInfo().hasFeature("mve") ||
         IsTargetCUDAAndHostARM) &&
-      VecKind == VectorKind::Neon && 
+      VecKind == VectorKind::Neon &&
       S.Context.getTargetInfo().getTriple().isArmMClass()) {
-    S.Diag(Attr.getLoc(), diag::err_attribute_unsupported)
-        << Attr << "'mve'";
+    S.Diag(Attr.getLoc(), diag::err_attribute_unsupported) << Attr << "'mve'";
     Attr.setInvalid();
     return;
   }
@@ -8099,8 +8098,7 @@ static void HandleNeonVectorTypeAttr(QualType &CurType, 
const ParsedAttr &Attr,
         IsTargetCUDAAndHostARM) &&
       VecKind == VectorKind::NeonPoly &&
       S.Context.getTargetInfo().getTriple().isArmMClass()) {
-    S.Diag(Attr.getLoc(), diag::err_attribute_unsupported)
-        << Attr << "'mve'";
+    S.Diag(Attr.getLoc(), diag::err_attribute_unsupported) << Attr << "'mve'";
     Attr.setInvalid();
     return;
   }

``````````

</details>


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

Reply via email to