[PATCH] D159450: Initialize `ConceptReference` of new `AutoTypeLoc` with nullptr.
Jens Massberg via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Sep 5 08:29:23 PDT 2023
massberg created this revision.
massberg added a reviewer: sammccall.
Herald added a project: All.
massberg requested review of this revision.
Herald added subscribers: cfe-commits, wangpc.
Herald added a project: clang.
Repository:
rG LLVM Github Monorepo
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(
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D159450.555870.patch
Type: text/x-patch
Size: 454 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230905/b0f6538e/attachment.bin>
More information about the cfe-commits
mailing list