[clang] [clang-tools-extra] [Clang] Use TargetInfo when deciding is an address space is compatible (PR #115777)
John McCall via cfe-commits
cfe-commits at lists.llvm.org
Wed Nov 13 15:33:42 PST 2024
rjmccall wrote:
I'm not sure what you're saying would need to pulled into a .cpp file. It looks like there's only one actual call to `TI.isAddressSpaceSupersetOf`, so if you just pass around an `ASTContext &` to that point, nothing else will need to drill into it. And frankly that entire expression in `Qualifiers::isAddressSpaceSupersetOf` after the equality check is so unwieldy that it probably ought to have been pulled into a .cpp file a long time ago.
https://github.com/llvm/llvm-project/pull/115777
More information about the cfe-commits
mailing list