[PATCH] D151515: [Sema] add cast from IncompleteArrayType to ConstantArrayType in TryReferenceListInitialization

Erich Keane via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue May 30 06:38:47 PDT 2023


erichkeane added inline comments.


================
Comment at: clang/lib/Sema/SemaInit.cpp:4433
+        // where H is the initializer list.
+        Sequence.AddQualificationConversionStep(cv1T1, VK_XValue);
+      }
----------------
Is `VK_XValue` correct here?  The standards quote says it is a PRValue?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D151515/new/

https://reviews.llvm.org/D151515



More information about the cfe-commits mailing list