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 cpp,h -- 
clang/include/clang/AST/APValue.h 
clang/include/clang/Serialization/ASTRecordReader.h 
clang/include/clang/Serialization/ASTRecordWriter.h 
clang/lib/AST/ByteCode/Descriptor.cpp clang/lib/AST/ByteCode/Descriptor.h 
clang/lib/AST/ByteCode/Interp.cpp clang/lib/AST/ByteCode/Interp.h 
clang/lib/AST/ByteCode/InterpBlock.h clang/lib/AST/ByteCode/InterpBuiltin.cpp 
clang/lib/AST/ByteCode/Pointer.cpp clang/lib/AST/ExprConstShared.h 
clang/lib/AST/ExprConstant.cpp clang/lib/Sema/SemaExprCXX.cpp 
clang/test/AST/ByteCode/new-delete.cpp 
clang/test/SemaCXX/builtin-assume-aligned.cpp 
clang/test/SemaCXX/constant-expression-cxx2a.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/AST/ByteCode/Descriptor.h 
b/clang/lib/AST/ByteCode/Descriptor.h
index c5b750a45..6011d54f1 100644
--- a/clang/lib/AST/ByteCode/Descriptor.h
+++ b/clang/lib/AST/ByteCode/Descriptor.h
@@ -13,8 +13,8 @@
 #ifndef LLVM_CLANG_AST_INTERP_DESCRIPTOR_H
 #define LLVM_CLANG_AST_INTERP_DESCRIPTOR_H
 
-#include "DeclOrExpr.h"
 #include "../ExprConstShared.h"
+#include "DeclOrExpr.h"
 #include "InitMap.h"
 #include "PrimType.h"
 #include "clang/AST/Decl.h"

``````````

</details>


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

Reply via email to