aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/ToolDrivers/llvm-lib/LibDriver.cpp
diff options
context:
space:
mode:
authorTilakChad <49703944+TilakChad@users.noreply.github.com>2024-12-25 23:44:33 +0545
committerGitHub <noreply@github.com>2024-12-25 18:59:33 +0100
commit70965ef259a161a6e9ccfb8bd841dd2246c56c37 (patch)
tree1ea903187474065f0eefa47339a02973c77347db /llvm/lib/ToolDrivers/llvm-lib/LibDriver.cpp
parentff97daadcd05ad3373f8398948d2962e88a0f61b (diff)
downloadllvm-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