[clang] 6d2e756 - Initialize `ConceptReference` of new `AutoTypeLoc` with nullptr.
Jens Massberg via cfe-commits
cfe-commits at lists.llvm.org
Tue Sep 5 09:18:09 PDT 2023
Author: Jens Massberg
Date: 2023-09-05T18:17:44+02:00
New Revision: 6d2e756dacfd9276775a06bdd1fea4eccace5e0f
URL: https://github.com/llvm/llvm-project/commit/6d2e756dacfd9276775a06bdd1fea4eccace5e0f
DIFF: https://github.com/llvm/llvm-project/commit/6d2e756dacfd9276775a06bdd1fea4eccace5e0f.diff
LOG: Initialize `ConceptReference` of new `AutoTypeLoc` with nullptr.
Differential Revision: https://reviews.llvm.org/D159450
Added:
Modified:
clang/lib/Sema/TreeTransform.h
Removed:
################################################################################
diff --git a/clang/lib/Sema/TreeTransform.h b/clang/lib/Sema/TreeTransform.h
index cfcd19e57cf169..7323140bc336bc 100644
--- a/clang/lib/Sema/TreeTransform.h
+++ b/clang/lib/Sema/TreeTransform.h
@@ -6860,6 +6860,7 @@ QualType TreeTransform<Derived>::TransformAutoType(TypeLocBuilder &TLB,
AutoTypeLoc NewTL = TLB.push<AutoTypeLoc>(Result);
NewTL.setNameLoc(TL.getNameLoc());
NewTL.setRParenLoc(TL.getRParenLoc());
+ NewTL.setConceptReference(nullptr);
if (T->isConstrained()) {
DeclarationNameInfo DNI = DeclarationNameInfo(
More information about the cfe-commits
mailing list