Home
last modified time | relevance | path

Searched refs:nullopt_t (Results 1 – 20 of 20) sorted by relevance

/llvm-project-15.0.7/libcxx/test/std/utilities/optional/optional.syn/
H A Doptional_nullopt_t.fail.cpp20 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 Dnullopt_t.pass.cpp24 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 Dnullopt_t.compile.fail.cpp23 std::nullopt_t n = {}; in main()
/llvm-project-15.0.7/libcxx/test/std/utilities/optional/optional.object/optional.object.ctor/
H A Dctor.fail.cpp40 …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 Dnullopt_t.pass.cpp23 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 Dplugin-vs-debug-info.cpp23 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 Doptional.h25 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 Doptional23 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 Dnot_equal.pass.cpp22 using std::nullopt_t; in main()
H A Dequal.pass.cpp22 using std::nullopt_t; in main()
H A Dless_than.pass.cpp22 using std::nullopt_t; in main()
H A Dgreater_equal.pass.cpp22 using std::nullopt_t; in main()
H A Dgreater.pass.cpp22 using std::nullopt_t; in main()
H A Dless_equal.pass.cpp23 using std::nullopt_t; in main()
/llvm-project-15.0.7/libcxx/docs/Status/
H A DSpaceshipPapers.csv4 `P2405R0 <https://wg21.link/P2405>`_,nullopt_t and nullptr_t should both have operator<=> and opera…
H A DCxx17Issues.csv239 "`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 Dnullopt_t.pass.cpp22 using std::nullopt_t;
/llvm-project-15.0.7/libcxx/test/std/concepts/concepts.object/
H A Dsemiregular.compile.pass.cpp114 static_assert(!std::semiregular<std::nullopt_t>);
H A Dregular.compile.pass.cpp147 static_assert(!std::regular<std::nullopt_t>);
/llvm-project-15.0.7/clang/include/clang/Tooling/Inclusions/
H A DStdSymbolMap.inc849 SYMBOL(nullopt_t, std::, <optional>)