summaryrefslogtreecommitdiffstats
path: root/libcxx/test/std/experimental/optional/optional.object/optional.object.ctor
Commit message (Collapse)AuthorAgeFilesLines
* Remove <experimental/optional>; use <optional> instead. See ↵Marshall Clow2018-02-018-901/+0
| | | | | | https://libcxx.llvm.org/TS_deprecation.html llvm-svn: 323971
* Fix unused parameters and variablesEric Fiselier2016-12-231-1/+1
| | | | llvm-svn: 290459
* Protect std::experimental::optional tests under libcpp-no-exceptionsRoger Ferrer Ibanez2016-11-076-12/+41
| | | | | | | | | | In these tests there are some paths that explicitly throw, so use the TEST_THROW macro that was proposed for this and then skip the tests that may enter the throwing path. Differential Revision: https://reviews.llvm.org/D26142 llvm-svn: 286099
* Fix PR30260 - optional<const T> not working.Eric Fiselier2016-09-072-0/+31
| | | | | | | | | | This patch fixes PR30260 by using a (void*) cast on the placement argument to placement new to casts away the const. See also http://llvm.org/PR30260. As a drive by change this patch also changes the header guard for <experimental/optional> to _LIBCPP_EXPERIMENTAL_OPTIONAL from _LIBCPP_OPTIONAL. llvm-svn: 280775
* Fix std::experimental::optional tests. Patch from Casey Carter.Eric Fiselier2016-07-171-9/+3
| | | | llvm-svn: 275732
* Remove trailing whitespace in test suite. Approved by Marshall Clow.Eric Fiselier2016-06-012-6/+6
| | | | llvm-svn: 271435
* [libcxx] Improve tests to use the UNSUPPORTED lit directiveAsiri Rathnayake2016-05-285-32/+5
| | | | | | | | | | | | | | | | | | | Quite a few libcxx tests seem to follow the format: #if _LIBCPP_STD_VER > X // Do test. #else // Empty test. #endif We should instead use the UNSUPPORTED lit directive to exclude the test on earlier C++ standards. This gives us a more accurate number of test passes for those standards and avoids unnecessary conflicts with other lit directives on the same tests. Reviewers: bcraig, ericwf, mclow.lists Differential revision: http://reviews.llvm.org/D20730 llvm-svn: 271108
* Make it possible to build a no-exceptions variant of libcxx.Asiri Rathnayake2015-11-106-0/+6
| | | | | | | | | | | | Fixes a small omission in libcxx that prevents libcxx being built when -DLIBCXX_ENABLE_EXCEPTIONS=0 is specified. This patch adds XFAILS to all those tests that are currently failing on the new -fno-exceptions library variant. Follow-up patches will update the tests (progressively) to cope with the new library variant. Change-Id: I4b801bd8d8e4fe7193df9e55f39f1f393a8ba81a llvm-svn: 252598
* Suppress clang warnings in some testsEric Fiselier2015-08-303-22/+9
| | | | llvm-svn: 246399
* Move test into test/std subdirectory.Eric Fiselier2014-12-208-0/+881
llvm-svn: 224658
OpenPOWER on IntegriCloud