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 1460b4964c7ada2f7536006722c8585b5bd0a1b5 
36ddb5811f11a1f6968705005713f34713026dbb -- 
clang/test/CodeGen/attr-counted-by-pr88931.c 
clang/test/CodeGen/attr-counted-by-pr88931.cpp clang/lib/CodeGen/CGBuiltin.cpp
``````````

</details>

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

``````````diff
diff --git a/clang/lib/CodeGen/CGBuiltin.cpp b/clang/lib/CodeGen/CGBuiltin.cpp
index bee12c4469..e7d2b84da8 100644
--- a/clang/lib/CodeGen/CGBuiltin.cpp
+++ b/clang/lib/CodeGen/CGBuiltin.cpp
@@ -848,7 +848,8 @@ const FieldDecl 
*CodeGenFunction::FindFlexibleArrayMemberField(
               FindFlexibleArrayMemberField(Ctx, Record, Name, Offset)) {
         const ASTRecordLayout &Layout = Ctx.getASTRecordLayout(RD);
         if (Layout.getFieldCount()) {
-          // A struct that holds only an inner struct won't have any fields. 
E.g.
+          // A struct that holds only an inner struct won't have any fields.
+          // E.g.
           //
           //     struct foo {
           //         struct bar {

``````````

</details>


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

Reply via email to