[clang] [clang-tools-extra] [clang] Improved canonicalization for template specialization types (PR #135119)

Matheus Izvekov via cfe-commits cfe-commits at lists.llvm.org
Thu Apr 10 08:53:21 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;
----------------
mizvekov wrote:

Yeah sure. Though it's not going to make a difference in practice because other members of the union are much larger.

https://github.com/llvm/llvm-project/pull/135119


More information about the cfe-commits mailing list