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 052a4b54a75364f13ea5001bba00691da4d8c239 
7f1f78ad0c39a8bd1b6c8e4cc7001f6282167d3c --extensions cpp -- 
clang/lib/CodeGen/CGBuiltin.cpp clang/lib/CodeGen/TargetBuiltins/AMDGPU.cpp 
clang/lib/CodeGen/TargetBuiltins/ARM.cpp 
clang/lib/CodeGen/TargetBuiltins/Hexagon.cpp 
clang/lib/CodeGen/TargetBuiltins/NVPTX.cpp 
clang/lib/CodeGen/TargetBuiltins/PPC.cpp 
clang/lib/CodeGen/TargetBuiltins/RISCV.cpp 
clang/lib/CodeGen/TargetBuiltins/SPIR.cpp 
clang/lib/CodeGen/TargetBuiltins/SystemZ.cpp 
clang/lib/CodeGen/TargetBuiltins/WebAssembly.cpp 
clang/lib/CodeGen/TargetBuiltins/X86.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 1159f6c08e..91ac7c5847 100644
--- a/clang/lib/CodeGen/CGBuiltin.cpp
+++ b/clang/lib/CodeGen/CGBuiltin.cpp
@@ -10,6 +10,7 @@
 //
 
//===----------------------------------------------------------------------===//
 
+#include "CGBuiltin.h"
 #include "ABIInfo.h"
 #include "CGCUDARuntime.h"
 #include "CGCXXABI.h"
@@ -17,7 +18,6 @@
 #include "CGOpenCLRuntime.h"
 #include "CGRecordLayout.h"
 #include "CGValue.h"
-#include "CGBuiltin.h"
 #include "CodeGenFunction.h"
 #include "CodeGenModule.h"
 #include "ConstantEmitter.h"
diff --git a/clang/lib/CodeGen/TargetBuiltins/AMDGPU.cpp 
b/clang/lib/CodeGen/TargetBuiltins/AMDGPU.cpp
index 76bcbe0468..72f9e5a817 100644
--- a/clang/lib/CodeGen/TargetBuiltins/AMDGPU.cpp
+++ b/clang/lib/CodeGen/TargetBuiltins/AMDGPU.cpp
@@ -10,8 +10,8 @@
 //
 
//===----------------------------------------------------------------------===//
 
-#include "CGHLSLRuntime.h"
 #include "CGBuiltin.h"
+#include "CGHLSLRuntime.h"
 #include "clang/Basic/TargetBuiltins.h"
 #include "llvm/Analysis/ValueTracking.h"
 #include "llvm/IR/IntrinsicsAMDGPU.h"

``````````

</details>


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

Reply via email to