[all-commits] [llvm/llvm-project] c12761: [Clang] Fix the printout of CXXParenListInitExpr i...
Younan Zhang via All-commits
all-commits at lists.llvm.org
Tue Mar 11 19:40:06 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: c12761858c72419051225a06c6511ad0cced08b1
https://github.com/llvm/llvm-project/commit/c12761858c72419051225a06c6511ad0cced08b1
Author: Younan Zhang <zyn7109 at gmail.com>
Date: 2025-03-12 (Wed, 12 Mar 2025)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/lib/AST/StmtPrinter.cpp
M clang/test/CodeGen/p0963r3.cpp
M clang/test/SemaCXX/paren-list-agg-init.cpp
Log Message:
-----------
[Clang] Fix the printout of CXXParenListInitExpr involving default arguments (#130731)
The parantheses are unnecessary IMO because they should have been
handled in the parents of such expressions, e.g. in CXXFunctionalCastExpr.
Moreover, we shouldn't join CXXDefaultInitExpr either because they are
not printed at all.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list