[PATCH] D109800: [clang] don't mark as Elidable CXXConstruct expressions used in NRVO
Matheus Izvekov via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Sep 15 18:28:39 PDT 2021
mizvekov updated this revision to Diff 372845.
mizvekov added a comment.
Add a couple more test cases where we don't perform copy-elision
on a returned prvalue in pre-C++17 modes, and the corresponding
FIXMEs in the source code.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D109800/new/
https://reviews.llvm.org/D109800
Files:
clang/include/clang/Sema/Initialization.h
clang/lib/CodeGen/CGExprCXX.cpp
clang/lib/Sema/Sema.cpp
clang/lib/Sema/SemaCoroutine.cpp
clang/lib/Sema/SemaDeclCXX.cpp
clang/lib/Sema/SemaExpr.cpp
clang/lib/Sema/SemaExprCXX.cpp
clang/lib/Sema/SemaLambda.cpp
clang/lib/Sema/SemaObjCProperty.cpp
clang/lib/Sema/SemaStmt.cpp
clang/test/CodeGen/nrvo-tracking.cpp
clang/test/CodeGenCXX/copy-elision.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D109800.372845.patch
Type: text/x-patch
Size: 11132 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210916/2640700c/attachment.bin>
More information about the cfe-commits
mailing list