aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/XCOFFObjectFile.cpp
diff options
context:
space:
mode:
authorHans Wennborg <hans@chromium.org>2021-06-14 16:39:32 +0200
committerHans Wennborg <hans@chromium.org>2021-06-14 16:46:58 +0200
commitc60dd3b2626a4d9eefd9f82f9a406b0d28d3fd72 (patch)
treebf8dbe9d4e1058f1ce6d1be3fa197d3a8b248278 /llvm/lib/Object/XCOFFObjectFile.cpp
parentbfd451a0ca9bc6cd448c39bcf6fb06e1c1742637 (diff)
downloadllvm-c60dd3b2626a4d9eefd9f82f9a406b0d28d3fd72.zip
llvm-c60dd3b2626a4d9eefd9f82f9a406b0d28d3fd72.tar.gz
llvm-c60dd3b2626a4d9eefd9f82f9a406b0d28d3fd72.tar.bz2
Revert "[clang] NRVO: Improvements and handling of more cases."
This change caused build errors related to move-only __block variables, see discussion on https://reviews.llvm.org/D99696 > This expands NRVO propagation for more cases: > > Parse analysis improvement: > * Lambdas and Blocks with dependent return type can have their variables > marked as NRVO Candidates. > > Variable instantiation improvements: > * Fixes crash when instantiating NRVO variables in Blocks. > * Functions, Lambdas, and Blocks which have auto return type have their > variables' NRVO status propagated. For Blocks with non-auto return type, > as a limitation, this propagation does not consider the actual return > type. > > This also implements exclusion of VarDecls which are references to > dependent types. > > Signed-off-by: Matheus Izvekov <mizvekov@gmail.com> > > Reviewed By: Quuxplusone > > Differential Revision: https://reviews.llvm.org/D99696 This also reverts the follow-on change which was hard to tease apart form the one above: > "[clang] Implement P2266 Simpler implicit move" > > This Implements [[http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2021/p2266r1.html|P2266 Simpler implicit move]]. > > Signed-off-by: Matheus Izvekov <mizvekov@gmail.com> > > Reviewed By: Quuxplusone > > Differential Revision: https://reviews.llvm.org/D99005 This reverts commits 1e50c3d785f4563873ab1ce86559f2a1285b5678 and bf20631782183cd19e0bb7219e908c2bbb01a75f.
Diffstat (limited to 'llvm/lib/Object/XCOFFObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions