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 origin/main HEAD --extensions c,h,cpp -- 
clang/test/PCH/riscv-rvv-vectors.c clang/include/clang/Sema/Sema.h 
clang/include/clang/Serialization/ASTBitCodes.h 
clang/include/clang/Serialization/ASTReader.h 
clang/include/clang/Serialization/ASTWriter.h 
clang/lib/Serialization/ASTReader.cpp clang/lib/Serialization/ASTWriter.cpp 
--diff_from_common_commit
``````````

:warning:
The reproduction instructions above might return results for more than one PR
in a stack if you are using a stacked PR workflow. You can limit the results by
changing `origin/main` to the base branch/commit you want to compare against.
:warning:

</details>

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

``````````diff
diff --git a/clang/lib/Serialization/ASTWriter.cpp 
b/clang/lib/Serialization/ASTWriter.cpp
index d06f5edd9..21ec7c8b8 100644
--- a/clang/lib/Serialization/ASTWriter.cpp
+++ b/clang/lib/Serialization/ASTWriter.cpp
@@ -5236,7 +5236,7 @@ void ASTWriter::WriteModuleFileExtension(Sema &SemaRef,
 void ASTWriter::WriteRISCVIntrinsicPragmas(Sema &SemaRef) {
   RecordData Record;
   // Need to update this when new intrinsic class is added.
-  Record.push_back(/*size*/3);
+  Record.push_back(/*size*/ 3);
   Record.push_back(SemaRef.RISCV().DeclareRVVBuiltins);
   Record.push_back(SemaRef.RISCV().DeclareSiFiveVectorBuiltins);
   Record.push_back(SemaRef.RISCV().DeclareAndesVectorBuiltins);

``````````

</details>


https://github.com/llvm/llvm-project/pull/171981
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to