[clang] [AST] Print the "aggregate" for aggregate deduction guide decl. (PR #84018)

via cfe-commits cfe-commits at lists.llvm.org
Tue Mar 5 05:58:36 PST 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 f55b79f59a77b4be586d649e9ced9f8667265011 63e1f39e9580f4b33fcd86572aea70bf46edb264 -- clang/include/clang/AST/TextNodeDumper.h clang/lib/AST/TextNodeDumper.cpp clang/test/SemaTemplate/deduction-guide.cpp
``````````

</details>

<details>
<summary>
View the diff from clang-format here.
</summary>

``````````diff
diff --git a/clang/lib/AST/TextNodeDumper.cpp b/clang/lib/AST/TextNodeDumper.cpp
index 347a1ede3d..413e452146 100644
--- a/clang/lib/AST/TextNodeDumper.cpp
+++ b/clang/lib/AST/TextNodeDumper.cpp
@@ -1990,7 +1990,8 @@ void TextNodeDumper::VisitFunctionDecl(const FunctionDecl *D) {
   }
 }
 
-void TextNodeDumper::VisitCXXDeductionGuideDecl(const CXXDeductionGuideDecl *D) {
+void TextNodeDumper::VisitCXXDeductionGuideDecl(
+    const CXXDeductionGuideDecl *D) {
   VisitFunctionDecl(D);
   switch (D->getDeductionCandidateKind()) {
   case DeductionCandidate::Normal:

``````````

</details>


https://github.com/llvm/llvm-project/pull/84018


More information about the cfe-commits mailing list