================
@@ -5317,6 +5317,11 @@ class InitListTransformer {
     if (auto *RD = Ty->getAsCXXRecordDecl()) {
       llvm::SmallVector<CXXRecordDecl *> RecordDecls;
       RecordDecls.push_back(RD);
+      // if this is a pr value create an xvalue so the member accesses
+      // will be xvalues
----------------
Icohedron wrote:

nit
```suggestion
      // If this is a prvalue create an xvalue so the member accesses
      // will be xvalues.
```

https://github.com/llvm/llvm-project/pull/186233
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to