[clang] [clang-tools-extra] [clang] Improved canonicalization for template specialization types (PR #135119)
Erich Keane via cfe-commits
cfe-commits at lists.llvm.org
Thu Apr 10 06:18:46 PDT 2025
================
@@ -168,6 +168,8 @@ class TemplateArgument {
LLVM_PREFERRED_TYPE(bool)
unsigned IsDefaulted : 1;
uintptr_t V;
+ LLVM_PREFERRED_TYPE(bool)
+ unsigned IsCanonicalExpr : 1;
----------------
erichkeane wrote:
Can we put this ABOVE the `V` here? `uintptr_t` on some platforms has a 64 bit alignment, so there is potentially a ton of padding above `V`.
https://github.com/llvm/llvm-project/pull/135119
More information about the cfe-commits
mailing list