aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Basic/SourceManager.cpp
diff options
context:
space:
mode:
authorClement Courbet <courbet@google.com>2024-12-12 17:01:59 +0100
committerGitHub <noreply@github.com>2024-12-12 17:01:59 +0100
commit4aacafd49b74dc168e0d99018b4c8289ce9c923e (patch)
treedf3636ab08e82a787a62d8a2c47daf88f4505568 /clang/lib/Basic/SourceManager.cpp
parente5371eded9c22ec4854634c9c58df793562f782d (diff)
downloadllvm-4aacafd49b74dc168e0d99018b4c8289ce9c923e.zip
llvm-4aacafd49b74dc168e0d99018b4c8289ce9c923e.tar.gz
llvm-4aacafd49b74dc168e0d99018b4c8289ce9c923e.tar.bz2
[clang][ASTVisitor] Visit `HoldingVar` from `BindingDecl`. (#117858)
Tuple-like types introduce `VarDecl`s in the AST for their "holding vars", but AST visitors do not visit those. As a result the `VarDecl` for the holding var is orphaned when trying to retreive its parents. Fix a `FlowSensitive` test that assumes that only a `BindingDecl` is introduced with the given name (the matcher now can also reach the `VarDecl` for the holding var).
Diffstat (limited to 'clang/lib/Basic/SourceManager.cpp')
0 files changed, 0 insertions, 0 deletions