diff options
author | Corentin Jabot <corentinjabot@gmail.com> | 2025-09-24 23:39:16 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-09-24 23:39:16 +0200 |
commit | 83331cc9833e5ff20218733273ac7b273006192f (patch) | |
tree | 0348fa98d5d1ad720582b21b48474a9179bc459e /llvm/lib/CodeGen/ModuloSchedule.cpp | |
parent | c989283c27621843ce82b0d16aba34785650cb47 (diff) | |
download | llvm-83331cc9833e5ff20218733273ac7b273006192f.zip llvm-83331cc9833e5ff20218733273ac7b273006192f.tar.gz llvm-83331cc9833e5ff20218733273ac7b273006192f.tar.bz2 |
[Clang] Constexpr Structured Bindings : The easy parts (#160337)
This implements the easy parts of P2686R5.
Ie allowing constexpr structured binding of structs and arrays.
References to constexpr variables / support for tuple is left for a
future PR.
Until we implement the whole thing, the feature is not enabled as an
extension in older language modes.
Trying to use it as a tuple does produce errors but not meaningful ones.
We could add a better diagnostic if we fail to complete the
implementation before the end of the clang 22 cycle.
Diffstat (limited to 'llvm/lib/CodeGen/ModuloSchedule.cpp')
0 files changed, 0 insertions, 0 deletions