ASTContext was holding onto a pointer to the Clang->LLVM address space map
which is stored inside TargetInfo. Instead of doing this, we can forward to
TargetInfo instead. This change will allow us to eventually remove
getTargetAddressSpace() from ASTContext and only have this information in
TargetInfo.
Details
Details
- Reviewers
pcc rjmccall - Group Reviewers
Restricted Project - Commits
- rGc4c23527d6c9: [ASTContext] Avoid duplicating address space map. NFCI
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
As this is a rather simple cleanup, I'll go ahead and merge this next week unless there is any objection until then.