[clang] [Clang] Resolved type of expression indexing into pack of values of a non-dependent type (PR #121405)
via cfe-commits
cfe-commits at lists.llvm.org
Tue Dec 31 08:29:38 PST 2024
TilakChad wrote:
Alternatively, we could've make the PackIndexingExpr to be type dependent and try to verify type compatibility lazily during instantiation.
It is how MSVC and GCC seems to behave.
Considering that the clang seems to be eager about such type compatibility, this changes is along the lines of how clang currently behaves.
https://godbolt.org/z/v5v3vqY8W
https://github.com/llvm/llvm-project/pull/121405
More information about the cfe-commits
mailing list