[clang] [Clang] Add __builtin_counted_by_ref builtin (PR #114495)
via cfe-commits
cfe-commits at lists.llvm.org
Thu Oct 31 18:09:44 PDT 2024
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 51a4f319f022b99f231e52fab97de28b6f1db591 a5245e5d6e026f389e64245a8ce4df643abec4a5 --extensions c,h,cpp -- clang/test/CodeGen/builtin-counted-by-ref.c clang/test/Sema/builtin-counted-by-ref.c clang/include/clang/Sema/Sema.h clang/lib/AST/Decl.cpp clang/lib/CodeGen/CGBuiltin.cpp clang/lib/CodeGen/CGExpr.cpp clang/lib/CodeGen/CodeGenFunction.h clang/lib/Sema/SemaChecking.cpp clang/lib/Sema/SemaExpr.cpp clang/test/CodeGen/attr-counted-by.c
``````````
</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 b6b30beede..c57ba19022 100644
--- a/clang/lib/CodeGen/CGBuiltin.cpp
+++ b/clang/lib/CodeGen/CGBuiltin.cpp
@@ -29,8 +29,8 @@
#include "clang/AST/Expr.h"
#include "clang/AST/OSLog.h"
#include "clang/AST/OperationKinds.h"
-#include "clang/AST/Type.h"
#include "clang/AST/StmtVisitor.h"
+#include "clang/AST/Type.h"
#include "clang/Basic/TargetBuiltins.h"
#include "clang/Basic/TargetInfo.h"
#include "clang/Basic/TargetOptions.h"
``````````
</details>
https://github.com/llvm/llvm-project/pull/114495
More information about the cfe-commits
mailing list