================
@@ -347,7 +347,7 @@ ParsedType Sema::getDestructorName(const IdentifierInfo &II,
     QualType T =
         CheckTypenameType(ElaboratedTypeKeyword::None, SourceLocation(),
                           SS.getWithLocInContext(Context), II, NameLoc);
-    return ParsedType::make(T);
+    return CreateParsedType(T, Context.getTrivialTypeSourceInfo(T, NameLoc));
----------------
zyn0217 wrote:

Oh yeah, thanks! didn't notice that ;)

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

Reply via email to