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 791161516f48f41ae90f1231fdfc7374f43b5a9f 
de8986c5a21ad69c5688f262efd899677d672120 --extensions cpp -- 
llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp
``````````

</details>

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

``````````diff
diff --git a/llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp 
b/llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp
index 377223e93cd..59a6c3c15d0 100644
--- a/llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp
+++ b/llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp
@@ -3780,8 +3780,10 @@ struct MemorySanitizerVisitor : public 
InstVisitor<MemorySanitizerVisitor> {
                         uint Width) {
     assert(isa<FixedVectorType>(left->getType()));
     assert(isa<FixedVectorType>(right->getType()));
-    assert(cast<FixedVectorType>(left->getType())->getNumElements() == 2 * 
Width);
-    assert(cast<FixedVectorType>(right->getType())->getNumElements() == 2 * 
Width);
+    assert(cast<FixedVectorType>(left->getType())->getNumElements() ==
+           2 * Width);
+    assert(cast<FixedVectorType>(right->getType())->getNumElements() ==
+           2 * Width);
 
     SmallVector<Constant *> Idxs;
 

``````````

</details>


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

Reply via email to