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

`CheckTypenameType` can produce a non-trivial type source info, there is an 
overload that has an out-parameter for 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