[llvm-branch-commits] [clang] [Clang] [C++26] Expansion Statements (Part 2) (PR #169681)
via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Wed Nov 26 09:14:45 PST 2025
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/lib/Sema/SemaExpand.cpp clang/test/Parser/cxx2c-expansion-statements-not-backported.cpp clang/test/Parser/cxx2c-expansion-statements.cpp clang/include/clang/Parse/Parser.h clang/include/clang/Sema/Sema.h clang/lib/Parse/ParseDecl.cpp clang/lib/Parse/ParseExpr.cpp clang/lib/Parse/ParseInit.cpp clang/lib/Parse/ParseStmt.cpp clang/lib/Sema/SemaDecl.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/Sema/SemaExpand.cpp b/clang/lib/Sema/SemaExpand.cpp
index c74ed63d3..85a97d477 100644
--- a/clang/lib/Sema/SemaExpand.cpp
+++ b/clang/lib/Sema/SemaExpand.cpp
@@ -24,7 +24,6 @@
using namespace clang;
using namespace sema;
-
CXXExpansionStmtDecl *
Sema::ActOnCXXExpansionStmtDecl(unsigned TemplateDepth,
SourceLocation TemplateKWLoc) {
``````````
</details>
https://github.com/llvm/llvm-project/pull/169681
More information about the llvm-branch-commits
mailing list