This revision was automatically updated to reflect the committed changes. Closed by commit rG6d2e756dacfd: Initialize `ConceptReference` of new `AutoTypeLoc` with nullptr. (authored by massberg).
Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D159450/new/ https://reviews.llvm.org/D159450 Files: clang/lib/Sema/TreeTransform.h Index: clang/lib/Sema/TreeTransform.h =================================================================== --- clang/lib/Sema/TreeTransform.h +++ clang/lib/Sema/TreeTransform.h @@ -6860,6 +6860,7 @@ AutoTypeLoc NewTL = TLB.push<AutoTypeLoc>(Result); NewTL.setNameLoc(TL.getNameLoc()); NewTL.setRParenLoc(TL.getRParenLoc()); + NewTL.setConceptReference(nullptr); if (T->isConstrained()) { DeclarationNameInfo DNI = DeclarationNameInfo(
Index: clang/lib/Sema/TreeTransform.h =================================================================== --- clang/lib/Sema/TreeTransform.h +++ clang/lib/Sema/TreeTransform.h @@ -6860,6 +6860,7 @@ AutoTypeLoc NewTL = TLB.push<AutoTypeLoc>(Result); NewTL.setNameLoc(TL.getNameLoc()); NewTL.setRParenLoc(TL.getRParenLoc()); + NewTL.setConceptReference(nullptr); if (T->isConstrained()) { DeclarationNameInfo DNI = DeclarationNameInfo(
_______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits