[all-commits] [llvm/llvm-project] 13926e: [Clang] Preserve CXXParenListInitExpr in TreeTrans...
cor3ntin via All-commits
all-commits at lists.llvm.org
Mon May 5 09:47:02 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 13926e149081ca2771bdea7c08c07d92d87f7818
https://github.com/llvm/llvm-project/commit/13926e149081ca2771bdea7c08c07d92d87f7818
Author: cor3ntin <corentinjabot at gmail.com>
Date: 2025-05-05 (Mon, 05 May 2025)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/include/clang/AST/ExprCXX.h
M clang/include/clang/Sema/Sema.h
M clang/lib/Sema/SemaExpr.cpp
M clang/lib/Sema/TreeTransform.h
M clang/test/SemaCXX/paren-list-agg-init.cpp
Log Message:
-----------
[Clang] Preserve CXXParenListInitExpr in TreeTransform. (#138518)
We were converting a CXXParenListInitExpr to a ParenListExpr in
TreeTransform.
However, ParenListExpr is typeless, so Clang could not rebuild the
correct initialization sequence in some contexts.
Fixes #72880
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