================
@@ -5838,7 +5839,7 @@ QualType 
TreeTransform<Derived>::TransformDependentAddressSpaceType(
   } else {
     TypeSourceInfo *DI = getSema().Context.getTrivialTypeSourceInfo(
         Result, getDerived().getBaseLocation());
-    TransformType(TLB, DI->getTypeLoc());
+    TLB.TypeWasModifiedSafely(DI->getType());
----------------
Sirraide wrote:

> But the `getTrivialTypeSourceInfo` is unnecessary in this case, you can 
> remove it.:

Done

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

Reply via email to