[Lldb-commits] [clang] [clang-tools-extra] [lldb] Update `QualType::get{Split, Atomic, }UnqualifiedType` with `const ASTContext &` parameter (NFC). (PR #198388)
Michele Scandale via lldb-commits
lldb-commits at lists.llvm.org
Fri Jun 5 08:38:18 PDT 2026
michele-scandale wrote:
> Thinking about this a bit more, it might make sense to just stick a pointer into VectorType: in additional to the CanonicalType which we store for all types, also store the UnqualifiedType which has all element qualifiers stripped. The memory usage is likely negligible given that most code uses very few distinct vector types.
If it is acceptable to add members to `VectorType` (and other vector related type classes) then I'd rather just have a `const ASTContext &` similarly to what has been done for `TypeOfExprType`.
https://github.com/llvm/llvm-project/pull/198388
More information about the lldb-commits
mailing list