================
@@ -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.");
----------------
mizvekov wrote:

If we somehow got here, we would need to rebuild the typeloc.

But no in-tree users are doing anything funky with 'AlreadyTransformed' which 
would cause us to reach here.
If any out of tree user were, it would be better from a performance standpoint 
to just make sure it always returns false for a PredefinedSugarType.

https://github.com/llvm/llvm-project/pull/143653
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to