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 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
