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 8586cd5ad8a7fa4f84b5913cbeaf634d68500095 5c9509d2765f2cc803757b2d151a672f8571ab15 -- clang/lib/Sema/SemaDeclAttr.cpp clang/test/CodeGen/2008-03-03-CtorAttrType.c clang/test/CodeGen/PowerPC/aix-constructor-attribute.c clang/test/CodeGen/PowerPC/aix-destructor-attribute.c clang/test/CodeGenCXX/aix-constructor-attribute.cpp clang/test/CodeGenCXX/aix-destructor-attribute.cpp clang/test/Sema/constructor-attribute.c `````````` </details> <details> <summary> View the diff from clang-format here. </summary> ``````````diff diff --git a/clang/lib/Sema/SemaDeclAttr.cpp b/clang/lib/Sema/SemaDeclAttr.cpp index 9a5de7eda641..f80e0d39ef65 100644 --- a/clang/lib/Sema/SemaDeclAttr.cpp +++ b/clang/lib/Sema/SemaDeclAttr.cpp @@ -2412,7 +2412,7 @@ static void handleCtorDtorAttr(Sema &S, Decl *D, const ParsedAttr &AL) { << AL << FD->getSourceRange(); return; } - + D->addAttr(CtorDtorAttr::Create(S.Context, Priority, AL)); } `````````` </details> https://github.com/llvm/llvm-project/pull/67360 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits