operator[] currently crashes when used with parameter packs (https://godbolt.org/z/1z9qGbPcr, https://godbolt.org/z/7cGeabzYW)
This patch fixes these issues.
Paths
| Differential D150008
[clang][C++2b] Fix operator[] with parameter pack expansions AbandonedPublic Authored by Tyker on May 5 2023, 4:15 PM.
Details
Summary operator[] currently crashes when used with parameter packs (https://godbolt.org/z/1z9qGbPcr, https://godbolt.org/z/7cGeabzYW) This patch fixes these issues.
Diff Detail Event TimelineTyker retitled this revision from [clang][C++2b] Fix variadic operator[] with parameter pack expansions to [clang][C++2b] Fix operator[] with parameter pack expansions. Comment Actions This looks very similar to https://reviews.llvm.org/D149637 which landed a couple of days ago. Did you confirm there is still an issue on tip of main? Comment Actions
I checked with the original crash I had and it is working with D149637.
Revision Contents
Diff 520000 clang/lib/Sema/TreeTransform.h
clang/test/SemaCXX/cxx2b-overloaded-operator.cpp
|