[clang] [clang-tools-extra] [libcxx] [lldb] [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
Mon Jul 7 08:15:40 PDT 2025


================
@@ -7248,6 +7248,12 @@ QualType TreeTransform<Derived>::TransformDependentBitIntType(
   return Result;
 }
 
+template <typename Derived>
+QualType TreeTransform<Derived>::TransformPredefinedSugarType(
+    TypeLocBuilder &TLB, PredefinedSugarTypeLoc TL) {
+  llvm_unreachable("This type does not need to be transformed.");
----------------
YexuanXiao wrote:

The previous reviewer considered it unreachable, see [comment](https://github.com/llvm/llvm-project/pull/143653#discussion_r2173574185), and tests also indicated so.

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


More information about the cfe-commits mailing list