[all-commits] [llvm/llvm-project] 2528f1: [Clang] Correctly expand pack in binary subscript ...
cor3ntin via All-commits
all-commits at lists.llvm.org
Tue May 2 12:22:16 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 2528f1c84588f4a549c12dd1435cbba4a502a077
https://github.com/llvm/llvm-project/commit/2528f1c84588f4a549c12dd1435cbba4a502a077
Author: Corentin Jabot <corentinjabot at gmail.com>
Date: 2023-05-02 (Tue, 02 May 2023)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/lib/Sema/SemaExpr.cpp
M clang/test/SemaCXX/cxx2b-overloaded-operator.cpp
Log Message:
-----------
[Clang] Correctly expand pack in binary subscript expression.
When constructing an array expression where the index expression
was a pack expansion, we would construct an ArraySubscriptExpr
instead of an CreateOverloadedArraySubscriptExpr, and pack
expansion would not occur - leading a crash during code gen
or a failure during constant evaluation
Reviewed By: erichkeane, shafik
Differential Revision: https://reviews.llvm.org/D149637
More information about the All-commits
mailing list