aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/AST/ByteCode/Compiler.cpp
diff options
context:
space:
mode:
authorPeter Klausler <pklausler@nvidia.com>2025-10-21 13:37:49 -0700
committerGitHub <noreply@github.com>2025-10-21 13:37:49 -0700
commitdab1148cfa2c1e51bf1b9af5587d0afecb084279 (patch)
treed25462c96891794a3071083a7ffd57daca56e281 /clang/lib/AST/ByteCode/Compiler.cpp
parent41cc0de595ebad1af7d88e1f0a0d439a399e85bd (diff)
downloadllvm-dab1148cfa2c1e51bf1b9af5587d0afecb084279.zip
llvm-dab1148cfa2c1e51bf1b9af5587d0afecb084279.tar.gz
llvm-dab1148cfa2c1e51bf1b9af5587d0afecb084279.tar.bz2
[flang] Address OpenACC name resolution gaps (#164313)
Some OpenACC parsers aren't filling in the "source" data members of parse tree nodes, or not doing so correctly; and some of those nodes are not adding their source data members to the source ranges of the current scope when being visited in name resolution, which causes SemanticsContext::FindScope() to misidentify the current scope in directive resolution when creating contexts. Further, the name resolution for a "use_device" clause isn't walking its subtrees, so some parser::Name nodes are not being resolved to Symbols. Fix these problems, and clean up resolve-directives.cpp a bit, since most Name nodes don't need to have their symbol table pointers updated now.
Diffstat (limited to 'clang/lib/AST/ByteCode/Compiler.cpp')
0 files changed, 0 insertions, 0 deletions