| /llvm-project-15.0.7/libcxx/test/std/utilities/optional/optional.syn/ |
| H A D | optional_nullopt_t.fail.cpp | 20 using std::nullopt_t; in main() 23 optional<nullopt_t> opt; // expected-note 1 {{requested here}} in main() 24 optional<const nullopt_t> opt1; // expected-note 1 {{requested here}} in main() 25 optional<nullopt_t &> opt2; // expected-note 1 {{requested here}} in main() 26 optional<nullopt_t &&> opt3; // expected-note 1 {{requested here}} in main()
|
| /llvm-project-15.0.7/libcxx/test/std/utilities/optional/optional.nullopt/ |
| H A D | nullopt_t.pass.cpp | 24 using std::nullopt_t; 29 nullopt_t foo{nullopt}; in test() 36 static_assert(std::is_empty_v<nullopt_t>); in main() 37 static_assert(!std::is_default_constructible_v<nullopt_t>); in main() 39 static_assert(std::is_same_v<const nullopt_t, decltype(nullopt)>); in main()
|
| H A D | nullopt_t.compile.fail.cpp | 23 std::nullopt_t n = {}; in main()
|
| /llvm-project-15.0.7/libcxx/test/std/utilities/optional/optional.object/optional.object.ctor/ |
| H A D | ctor.fail.cpp | 40 …std::optional< std::nullopt_t> o1; // expected-error-re@optional:* {{{{(static_asser… in main() 41 …std::optional<const std::nullopt_t> o2; // expected-error-re@optional:* {{{{(static_asser… in main() 42 …std::optional< volatile std::nullopt_t> o3; // expected-error-re@optional:* {{{{(static_asser… in main() 43 …std::optional<const volatile std::nullopt_t> o4; // expected-error-re@optional:* {{{{(static_asser… in main()
|
| H A D | nullopt_t.pass.cpp | 23 using std::nullopt_t; 30 static_assert(std::is_nothrow_constructible<Opt, nullopt_t&>::value, ""); in test_constexpr() 48 static_assert(std::is_nothrow_constructible<Opt, nullopt_t&>::value, ""); in test()
|
| /llvm-project-15.0.7/clang/test/Frontend/ |
| H A D | plugin-vs-debug-info.cpp | 23 struct nullopt_t { struct 24 constexpr explicit nullopt_t(int) {} in nullopt_t() function 26 constexpr nullopt_t nullopt(0);
|
| /llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/bugprone/Inputs/unchecked-optional-access/absl/types/ |
| H A D | optional.h | 25 struct nullopt_t { 26 constexpr explicit nullopt_t() {} 29 constexpr nullopt_t nullopt; 36 constexpr optional(nullopt_t) noexcept;
|
| /llvm-project-15.0.7/libcxx/include/ |
| H A D | optional | 23 struct nullopt_t{see below }; 24 inline constexpr nullopt_t nullopt(unspecified ); 89 constexpr optional(nullopt_t) noexcept; 231 struct nullopt_t 237 inline constexpr nullopt_t nullopt{nullopt_t::__secret_tag{}, nullopt_t::__secret_tag{}}; 1115 static_assert(!is_same_v<_Up, nullopt_t>, 1130 static_assert(!is_same_v<_Up, nullopt_t>, 1145 static_assert(!is_same_v<_Up, nullopt_t>, 1160 static_assert(!is_same_v<_Up, nullopt_t>, 1330 operator<(const optional<_Tp>&, nullopt_t) noexcept [all …]
|
| /llvm-project-15.0.7/libcxx/test/std/utilities/optional/optional.nullops/ |
| H A D | not_equal.pass.cpp | 22 using std::nullopt_t; in main()
|
| H A D | equal.pass.cpp | 22 using std::nullopt_t; in main()
|
| H A D | less_than.pass.cpp | 22 using std::nullopt_t; in main()
|
| H A D | greater_equal.pass.cpp | 22 using std::nullopt_t; in main()
|
| H A D | greater.pass.cpp | 22 using std::nullopt_t; in main()
|
| H A D | less_equal.pass.cpp | 23 using std::nullopt_t; in main()
|
| /llvm-project-15.0.7/libcxx/docs/Status/ |
| H A D | SpaceshipPapers.csv | 4 `P2405R0 <https://wg21.link/P2405>`_,nullopt_t and nullptr_t should both have operator<=> and opera…
|
| H A D | Cxx17Issues.csv | 239 "`2736 <https://wg21.link/LWG2736>`__","nullopt_t insufficiently constrained","Issaquah","|Complete…
|
| /llvm-project-15.0.7/libcxx/test/std/utilities/optional/optional.object/optional.object.assign/ |
| H A D | nullopt_t.pass.cpp | 22 using std::nullopt_t;
|
| /llvm-project-15.0.7/libcxx/test/std/concepts/concepts.object/ |
| H A D | semiregular.compile.pass.cpp | 114 static_assert(!std::semiregular<std::nullopt_t>);
|
| H A D | regular.compile.pass.cpp | 147 static_assert(!std::regular<std::nullopt_t>);
|
| /llvm-project-15.0.7/clang/include/clang/Tooling/Inclusions/ |
| H A D | StdSymbolMap.inc | 849 SYMBOL(nullopt_t, std::, <optional>)
|