[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 09:18:21 PDT 2023


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(


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D159450.555878.patch
Type: text/x-patch
Size: 454 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230905/59bc8f35/attachment.bin>


More information about the cfe-commits mailing list