[libcxx-commits] [clang] [clang-tools-extra] [libcxx] [Clang] Make the SizeType, SignedSizeType and PtrdiffType be named sugar types instead of built-in types (PR #143653)

via libcxx-commits libcxx-commits at lists.llvm.org
Sat Jun 28 13:48:16 PDT 2025


================
@@ -2767,6 +2767,10 @@ class DependentBitIntTypeLoc final
     : public InheritingConcreteTypeLoc<TypeSpecTypeLoc, DependentBitIntTypeLoc,
                                        DependentBitIntType> {};
 
+class PredefinedSugarTypeLoc final
+    : public InheritingConcreteTypeLoc<TypeSpecTypeLoc, PredefinedSugarTypeLoc,
+                                       PredefinedSugarType> {};
----------------
YexuanXiao wrote:

https://github.com/llvm/llvm-project/blob/f90025ebd930a4719f3d7ac61d802ce948f9f433/clang/include/clang/AST/TypeLoc.h#L49-L53 declares it.

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


More information about the libcxx-commits mailing list