[PATCH] D33955: [libcxx] [test] Remove a Clang/C2 workaround.
Stephan T. Lavavej via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Jun 6 13:42:22 PDT 2017
STL_MSFT created this revision.
[libcxx] [test] Remove a Clang/C2 workaround.
Clang/LLVM doesn't need this workaround.
https://reviews.llvm.org/D33955
Files:
test/std/utilities/optional/optional.object/optional.object.mod/reset.pass.cpp
Index: test/std/utilities/optional/optional.object/optional.object.mod/reset.pass.cpp
===================================================================
--- test/std/utilities/optional/optional.object/optional.object.mod/reset.pass.cpp
+++ test/std/utilities/optional/optional.object/optional.object.mod/reset.pass.cpp
@@ -48,14 +48,12 @@
assert(X::dtor_called == false);
assert(static_cast<bool>(opt) == false);
}
- assert(X::dtor_called == false); // TRANSITION, Clang/C2 VSO#239997
{
optional<X> opt(X{});
X::dtor_called = false;
opt.reset();
assert(X::dtor_called == true);
assert(static_cast<bool>(opt) == false);
X::dtor_called = false;
}
- assert(X::dtor_called == false); // TRANSITION, Clang/C2 VSO#239997
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D33955.101614.patch
Type: text/x-patch
Size: 812 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170606/140ca5b1/attachment.bin>
More information about the cfe-commits
mailing list