diff options
author | TilakChad <49703944+TilakChad@users.noreply.github.com> | 2024-12-25 23:44:33 +0545 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-12-25 18:59:33 +0100 |
commit | 70965ef259a161a6e9ccfb8bd841dd2246c56c37 (patch) | |
tree | 1ea903187474065f0eefa47339a02973c77347db /llvm/lib/ToolDrivers/llvm-lib/LibDriver.cpp | |
parent | ff97daadcd05ad3373f8398948d2962e88a0f61b (diff) | |
download | llvm-70965ef259a161a6e9ccfb8bd841dd2246c56c37.zip llvm-70965ef259a161a6e9ccfb8bd841dd2246c56c37.tar.gz llvm-70965ef259a161a6e9ccfb8bd841dd2246c56c37.tar.bz2 |
[Clang] Prevent assignment to captured structured bindings inside immutable lambda (#120849)
For structured bindings, a call to getCapturedDeclRefType(...) was
missing. This PR fixes that behavior and adds the related diagnostics
too.
This fixes https://github.com/llvm/llvm-project/issues/95081.
Diffstat (limited to 'llvm/lib/ToolDrivers/llvm-lib/LibDriver.cpp')
0 files changed, 0 insertions, 0 deletions