Home
last modified time | relevance | path

Searched refs:NoDefault (Results 1 – 25 of 35) sorted by relevance

12

/external/llvm-project/lldb/unittests/Core/
DUniqueCStringMapTest.cpp15 struct NoDefault { struct
18 NoDefault(int x) : x(x) {} in NoDefault() function
19 NoDefault() = delete;
21 friend bool operator==(NoDefault lhs, NoDefault rhs) { in operator ==()
26 NoDefault x) { in operator <<()
33 using MapT = UniqueCStringMap<NoDefault>; in TEST()
39 Map.Append(Foo, NoDefault(42)); in TEST()
40 EXPECT_THAT(Map.Find(Foo, NoDefault(47)), NoDefault(42)); in TEST()
41 EXPECT_THAT(Map.Find(Bar, NoDefault(47)), NoDefault(47)); in TEST()
43 testing::Pointee(testing::Field(&EntryT::value, NoDefault(42)))); in TEST()
[all …]
/external/llvm-project/clang-tools-extra/test/clang-tidy/checkers/
Dreadability-deleted-default.cpp3 class NoDefault { class
5 NoDefault() = delete;
6 NoDefault(NoDefault &&Other) = delete;
7 NoDefault(const NoDefault &Other) = delete;
24 NoDefault ND;
/external/llvm-project/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/
Ddefault.pass.cpp25 struct NoDefault { struct
26 NoDefault() = delete;
27 explicit NoDefault(int) { } in NoDefault() argument
78 static_assert(!std::is_default_constructible<std::tuple<NoDefault>>(), ""); in main()
79 static_assert(!std::is_default_constructible<std::tuple<DefaultOnly, NoDefault>>(), ""); in main()
80 …static_assert(!std::is_default_constructible<std::tuple<NoDefault, DefaultOnly, NoDefault>>(), ""); in main()
DUTypes.pass.cpp37 struct NoDefault { NoDefault() = delete; }; struct
46 typedef std::tuple<MoveOnly, NoDefault> Tuple; in test_default_constructible_extension_sfinae()
55 MoveOnly, NoDefault in test_default_constructible_extension_sfinae()
59 typedef std::tuple<MoveOnly, MoveOnly, NoDefault> Tuple; in test_default_constructible_extension_sfinae()
68 MoveOnly, MoveOnly, NoDefault in test_default_constructible_extension_sfinae()
73 typedef std::tuple<MoveOnly, NoDefault> Tuple; in test_default_constructible_extension_sfinae()
/external/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/
Ddefault.pass.cpp25 struct NoDefault { struct
26 NoDefault() = delete;
27 explicit NoDefault(int) { } in NoDefault() argument
78 static_assert(!std::is_default_constructible<std::tuple<NoDefault>>(), ""); in main()
79 static_assert(!std::is_default_constructible<std::tuple<DefaultOnly, NoDefault>>(), ""); in main()
80 …static_assert(!std::is_default_constructible<std::tuple<NoDefault, DefaultOnly, NoDefault>>(), ""); in main()
DUTypes.pass.cpp38 struct NoDefault { NoDefault() = delete; }; struct
47 typedef std::tuple<MoveOnly, NoDefault> Tuple; in test_default_constructible_extension_sfinae()
56 MoveOnly, NoDefault in test_default_constructible_extension_sfinae()
60 typedef std::tuple<MoveOnly, MoveOnly, NoDefault> Tuple; in test_default_constructible_extension_sfinae()
69 MoveOnly, MoveOnly, NoDefault in test_default_constructible_extension_sfinae()
74 typedef std::tuple<MoveOnly, NoDefault> Tuple; in test_default_constructible_extension_sfinae()
/external/llvm-project/clang/test/CXX/dcl.decl/dcl.init/
Dp14-0x.cpp3 struct NoDefault { struct
4 NoDefault() = delete; // expected-note {{here}}
5 NoDefault(int);
30 NoDefault nd1;
31 NoDefault nd2 = 42;
/external/clang/test/CXX/dcl.decl/dcl.init/
Dp14-0x.cpp3 struct NoDefault { struct
4 NoDefault() = delete; // expected-note {{here}}
5 NoDefault(int);
30 NoDefault nd1;
31 NoDefault nd2 = 42;
/external/libcxx/test/std/utilities/utility/pairs/pairs.pair/
Ddefault.pass.cpp48 using NoDefault = ImplicitTypes::NoDefault; in main() typedef
49 using P = std::pair<int, NoDefault>; in main()
51 using P2 = std::pair<NoDefault, int>; in main()
/external/llvm-project/libcxx/test/std/utilities/utility/pairs/pairs.pair/
Ddefault.pass.cpp42 using NoDefault = ImplicitTypes::NoDefault; in main() typedef
43 using P = std::pair<int, NoDefault>; in main()
45 using P2 = std::pair<NoDefault, int>; in main()
/external/libcxx/test/std/containers/sequences/array/array.cons/
Dimplicit_copy.pass.cpp32 struct NoDefault { struct
33 NoDefault(int) {} in NoDefault() function
75 typedef NoDefault T; in main()
84 typedef NoDefault T; in main()
Ddefault.pass.cpp21 struct NoDefault { struct
22 NoDefault(int) {} in NoDefault() argument
40 typedef std::array<NoDefault, 0> C; in main()
/external/llvm-project/libcxx/test/std/containers/sequences/array/array.cons/
Dinitialization.pass.cpp17 struct NoDefault { struct
18 TEST_CONSTEXPR NoDefault(int) { } in NoDefault() function
33 std::array<NoDefault, 0> nodefault; (void)nodefault; in operator ()()
63 std::array<NoDefault, 0> nodefault{}; (void)nodefault; in operator ()()
88 std::array<NoDefault, 0> nodefault = {}; (void)nodefault; in operator ()()
113 std::array<NoDefault, 0> nodefault = {{}}; (void)nodefault; in operator ()()
Dimplicit_copy.pass.cpp31 struct NoDefault { struct
32 TEST_CONSTEXPR NoDefault(int) { } in NoDefault() function
75 typedef std::array<NoDefault, 0> Array; in tests()
83 typedef std::array<NoDefault const, 0> Array; in tests()
/external/libcxx/test/std/containers/sequences/array/
Dbegin.pass.cpp23 struct NoDefault { struct
24 NoDefault(int) {} in NoDefault() argument
42 typedef NoDefault T; in main()
/external/llvm-project/libcxx/test/std/containers/sequences/array/array.data/
Ddata_const.pass.cpp23 struct NoDefault { struct
24 TEST_CONSTEXPR NoDefault(int) { } in NoDefault() function
55 typedef NoDefault T; in tests()
Ddata.pass.cpp23 struct NoDefault { struct
24 TEST_CONSTEXPR NoDefault(int) { } in NoDefault() function
63 typedef NoDefault T; in tests()
/external/libcxx/test/std/containers/sequences/array/array.data/
Ddata_const.pass.cpp24 struct NoDefault { struct
25 NoDefault(int) {} in NoDefault() function
47 typedef NoDefault T; in main()
Ddata.pass.cpp24 struct NoDefault { struct
25 NoDefault(int) {} in NoDefault() function
65 typedef NoDefault T; in main()
/external/libcxx/test/support/
Darchetypes.ipp58 struct NoDefault : DEFINE_BASE(NoDefault) {
59 using Base = DEFINE_BASE(NoDefault);
61 DEFINE_EXPLICIT DEFINE_CONSTEXPR NoDefault() DEFINE_NOEXCEPT = delete;
62 DEFINE_DTOR(NoDefault)
157 NoDefault,
/external/llvm-project/libcxx/test/support/
Darchetypes.ipp65 struct NoDefault : DEFINE_BASE(NoDefault) {
66 using Base = DEFINE_BASE(NoDefault);
68 DEFINE_EXPLICIT DEFINE_CONSTEXPR NoDefault() DEFINE_NOEXCEPT = delete;
69 DEFINE_DTOR(NoDefault)
164 NoDefault,
/external/llvm-project/libcxx/test/libcxx/utilities/tuple/tuple.tuple/tuple.cnstr/
Ddisable_reduced_arity_initialization_extension.pass.cpp32 struct NoDefault { NoDefault() = delete; }; struct
42 typedef NoDefault ND; in test_default_constructible_extension_sfinae()
Denable_reduced_arity_initialization_extension.pass.cpp31 struct NoDefault { NoDefault() = delete; }; struct
41 typedef NoDefault ND; in test_default_constructible_extension_sfinae()
/external/libcxx/test/libcxx/utilities/tuple/tuple.tuple/tuple.cnstr/
Ddisable_reduced_arity_initialization_extension.pass.cpp33 struct NoDefault { NoDefault() = delete; }; struct
43 typedef NoDefault ND; in test_default_constructible_extension_sfinae()
Denable_reduced_arity_initialization_extension.pass.cpp32 struct NoDefault { NoDefault() = delete; }; struct
42 typedef NoDefault ND; in test_default_constructible_extension_sfinae()

12