[PATCH] D37024: [libcxx] [test] Cleanup nullopt_t tests

Casey Carter via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Aug 22 14:04:19 PDT 2017


CaseyCarter created this revision.

- Update specification text from N4387

- Delete `not_brace_initializable.fail.cpp`: it's redundant with `nullopt_t.fail.cpp`

- `is_empty<T>` implies `is_class<T>`

- `is_literal` is deprecated; directly verify that we can create a `nullopt_t` in a `constexpr` context


https://reviews.llvm.org/D37024

Files:
  test/std/utilities/optional/optional.nullopt/not_brace_initializable.fail.cpp
  test/std/utilities/optional/optional.nullopt/nullopt_t.fail.cpp
  test/std/utilities/optional/optional.nullopt/nullopt_t.pass.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D37024.112222.patch
Type: text/x-patch
Size: 3536 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170822/fda77c88/attachment.bin>


More information about the cfe-commits mailing list