[clang] Reapply "[Clang] Fix dependent local class instantiation bugs" (PR #135914)
Younan Zhang via cfe-commits
cfe-commits at lists.llvm.org
Wed Apr 16 18:56:39 PDT 2025
================
@@ -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
More information about the cfe-commits
mailing list