diff options
| author | Peter Klausler <pklausler@nvidia.com> | 2025-10-21 13:37:49 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-10-21 13:37:49 -0700 |
| commit | dab1148cfa2c1e51bf1b9af5587d0afecb084279 (patch) | |
| tree | d25462c96891794a3071083a7ffd57daca56e281 /clang/lib/AST/ByteCode/Compiler.cpp | |
| parent | 41cc0de595ebad1af7d88e1f0a0d439a399e85bd (diff) | |
| download | llvm-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
