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 161cfc6f39bef8994eb944687033ebd3570196e8 
8e18416e111d2acd813efdabf5dd1ad3e34435f6 --extensions cpp,h -- 
clang/lib/CodeGen/CGExprConstant.cpp llvm/include/llvm/IR/Constants.h 
llvm/lib/Bitcode/Writer/BitcodeWriter.cpp 
llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp llvm/lib/IR/Constants.cpp 
llvm/lib/Target/X86/X86MCInstLower.cpp
``````````

</details>

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

``````````diff
diff --git a/llvm/lib/IR/Constants.cpp b/llvm/lib/IR/Constants.cpp
index 9c3f28a3fa..f9e6146028 100644
--- a/llvm/lib/IR/Constants.cpp
+++ b/llvm/lib/IR/Constants.cpp
@@ -2861,7 +2861,6 @@ uint64_t ConstantDataSequential::getNumElements() const {
   return cast<FixedVectorType>(getType())->getNumElements();
 }
 
-
 uint64_t ConstantDataSequential::getElementByteSize() const {
   return getElementType()->getPrimitiveSizeInBits()/8;
 }

``````````

</details>


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

Reply via email to