aboutsummaryrefslogtreecommitdiff
path: root/flang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorflovent <144676429+flovent@users.noreply.github.com>2025-03-26 23:03:43 +0800
committerGitHub <noreply@github.com>2025-03-26 16:03:43 +0100
commitb55dd8f607dab5b122e09836022a37ef10c8c653 (patch)
tree0231b1a0ddaea046684a78fd22696d247ca462aa /flang/lib/Frontend/CompilerInvocation.cpp
parent6dd14c881cd6dbe76a73b60ab7eabf95f92271c4 (diff)
downloadllvm-b55dd8f607dab5b122e09836022a37ef10c8c653.zip
llvm-b55dd8f607dab5b122e09836022a37ef10c8c653.tar.gz
llvm-b55dd8f607dab5b122e09836022a37ef10c8c653.tar.bz2
[clang][analyzer] Correctly handle structured bindings captured by lambda (#132579)
this PR fixes #91835. For `DeclRefExpr` in lambda's function body, it will references to original variable declaration in AST rather than `FieldDecl` for lambda class, so it's needed to find the corresponding `FieldDecl` and bind `DeclRefExpr`'s value to it. This is already implemented for variables that are not in a structured binding structure, so I extracted that part of the code so that it can be used in the structured binding case.
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions