llvm-project
70965ef2 - [Clang] Prevent assignment to captured structured bindings inside immutable lambda (#120849)

Commit
280 days ago
[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.
Author
Parents
Loading