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

via cfe-commits cfe-commits at lists.llvm.org
Fri Jun 27 15:55:04 PDT 2025


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

Same as the [comment for TreeTransform.h](https://github.com/llvm/llvm-project/pull/143653#discussion_r2172957271).

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


More information about the cfe-commits mailing list