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 HEAD~1 HEAD --extensions cpp,c -- 
clang/test/CodeGen/builtin-masked.c clang/test/Sema/builtin-masked.c 
clang/lib/CodeGen/CGBuiltin.cpp clang/lib/Sema/SemaChecking.cpp
``````````

</details>

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

``````````diff
diff --git a/clang/lib/Sema/SemaChecking.cpp b/clang/lib/Sema/SemaChecking.cpp
index dfe034833..04aafc8be 100644
--- a/clang/lib/Sema/SemaChecking.cpp
+++ b/clang/lib/Sema/SemaChecking.cpp
@@ -2315,7 +2315,8 @@ static ExprResult BuiltinMaskedStore(Sema &S, CallExpr 
*TheCall) {
 
   QualType ValTy = ValArg->getType();
   if (!ValTy->isVectorType())
-    return ExprError(S.Diag(ValArg->getExprLoc(), 
diag::err_vec_masked_load_store_ptr)
+    return ExprError(
+        S.Diag(ValArg->getExprLoc(), diag::err_vec_masked_load_store_ptr)
         << 2 << "vector");
 
   QualType PtrTy = PtrArg->getType();

``````````

</details>


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

Reply via email to