aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Target/RISCV/Disassembler/RISCVDisassembler.cpp
diff options
context:
space:
mode:
authorBalázs Kéri <balazs.keri@ericsson.com>2025-01-13 09:46:45 +0100
committerGitHub <noreply@github.com>2025-01-13 09:46:45 +0100
commitb270525f730be6e7196667925f5a9bfa153262e9 (patch)
treeb9e930bb5d1479aa89d9ec4671d7f1ba24cee828 /llvm/lib/Target/RISCV/Disassembler/RISCVDisassembler.cpp
parent4f96fb5fb349b0030f9c14b4fe389cebc3069702 (diff)
downloadllvm-b270525f730be6e7196667925f5a9bfa153262e9.zip
llvm-b270525f730be6e7196667925f5a9bfa153262e9.tar.gz
llvm-b270525f730be6e7196667925f5a9bfa153262e9.tar.bz2
[clang][ASTImporter] Not using primary context in lookup table (#118466)
`ASTImporterLookupTable` did use the `getPrimaryContext` function to get the declaration context of the inserted items. This is problematic because the primary context can change during import of AST items, most likely if a definition of a previously not defined class is imported. (For any record the primary context is the definition if there is one.) The use of primary context is really not important, only for namespaces because these can be re-opened and lookup in one namespace block is not enough. This special search is now moved into ASTImporter instead of relying on the lookup table.
Diffstat (limited to 'llvm/lib/Target/RISCV/Disassembler/RISCVDisassembler.cpp')
0 files changed, 0 insertions, 0 deletions