Home
last modified time | relevance | path

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

/external/llvm/unittests/ADT/
DOptionalTest.cpp16 struct NonDefaultConstructible { struct
20 explicit NonDefaultConstructible(int) { in NonDefaultConstructible() function
22 NonDefaultConstructible(const NonDefaultConstructible&) { in NonDefaultConstructible() function
25 NonDefaultConstructible &operator=(const NonDefaultConstructible&) { in operator =() argument
29 ~NonDefaultConstructible() { in ~NonDefaultConstructible() argument
39 unsigned NonDefaultConstructible::CopyConstructions = 0;
40 unsigned NonDefaultConstructible::Destructions = 0;
41 unsigned NonDefaultConstructible::CopyAssignments = 0;
48 Optional<NonDefaultConstructible> O; in TEST_F()
53 NonDefaultConstructible::ResetCounts(); in TEST_F()
[all …]
/external/llvm-project/llvm/unittests/ADT/
DOptionalTest.cpp41 struct NonDefaultConstructible { struct
45 explicit NonDefaultConstructible(int) { in NonDefaultConstructible() argument
47 NonDefaultConstructible(const NonDefaultConstructible&) { in NonDefaultConstructible() function
50 NonDefaultConstructible &operator=(const NonDefaultConstructible&) { in operator =() argument
54 ~NonDefaultConstructible() { in ~NonDefaultConstructible() argument
64 unsigned NonDefaultConstructible::CopyConstructions = 0;
65 unsigned NonDefaultConstructible::Destructions = 0;
66 unsigned NonDefaultConstructible::CopyAssignments = 0;
69 !std::is_trivially_copyable<Optional<NonDefaultConstructible>>::value,
73 Optional<NonDefaultConstructible> O; in TEST()
[all …]
/external/llvm-project/clang/test/CXX/temp/temp.spec/temp.expl.spec/
Dp15.cpp3 struct NonDefaultConstructible { struct
4 NonDefaultConstructible(const NonDefaultConstructible&); // expected-note{{candidate constructor}}
17 NonDefaultConstructible X<NonDefaultConstructible, long>::member;
19 NonDefaultConstructible &test(bool b) { in test()
20 return b? X<NonDefaultConstructible, int>::member // expected-note{{instantiation}} in test()
21 : X<NonDefaultConstructible, long>::member; in test()
Dp1.cpp9 struct NonDefaultConstructible { struct
10 NonDefaultConstructible(int);
22 template<> void f0(NonDefaultConstructible) { } in f0() argument
24 void test_f0(NonDefaultConstructible NDC) { in test_f0()
67 NonDefaultConstructible X0<NonDefaultConstructible>::member = 17;
69 NonDefaultConstructible &get_static_member() { in get_static_member()
70 return X0<NonDefaultConstructible>::member; in get_static_member()
Dp2.cpp12 struct NonDefaultConstructible { struct
13 NonDefaultConstructible(int);
26 template<> void f0(NonDefaultConstructible) { } in f0() argument
28 void test_f0(NonDefaultConstructible NDC) { in test_f0()
119 NonDefaultConstructible X0<NonDefaultConstructible>::member;
128 NonDefaultConstructible &get_static_member() { in get_static_member()
129 return N0::X0<NonDefaultConstructible>::member; in get_static_member()
Dp2-0x.cpp9 struct NonDefaultConstructible { struct
10 NonDefaultConstructible(int);
22 template<> void f0(NonDefaultConstructible) { } in f0() argument
24 void test_f0(NonDefaultConstructible NDC) { in test_f0()
151 NonDefaultConstructible X0<NonDefaultConstructible>::member;
160 NonDefaultConstructible &get_static_member() { in get_static_member()
161 return N0::X0<NonDefaultConstructible>::member; in get_static_member()
/external/clang/test/CXX/temp/temp.spec/temp.expl.spec/
Dp15.cpp3 struct NonDefaultConstructible { struct
4 NonDefaultConstructible(const NonDefaultConstructible&); // expected-note{{candidate constructor}}
17 NonDefaultConstructible X<NonDefaultConstructible, long>::member;
19 NonDefaultConstructible &test(bool b) { in test()
20 return b? X<NonDefaultConstructible, int>::member // expected-note{{instantiation}} in test()
21 : X<NonDefaultConstructible, long>::member; in test()
Dp1.cpp9 struct NonDefaultConstructible { struct
10 NonDefaultConstructible(int);
22 template<> void f0(NonDefaultConstructible) { } in f0() argument
24 void test_f0(NonDefaultConstructible NDC) { in test_f0()
67 NonDefaultConstructible X0<NonDefaultConstructible>::member = 17;
69 NonDefaultConstructible &get_static_member() { in get_static_member()
70 return X0<NonDefaultConstructible>::member; in get_static_member()
Dp2.cpp12 struct NonDefaultConstructible { struct
13 NonDefaultConstructible(int);
29 template<> void f0(NonDefaultConstructible) { } in f0() argument
31 void test_f0(NonDefaultConstructible NDC) { in test_f0()
149 NonDefaultConstructible X0<NonDefaultConstructible>::member;
158 NonDefaultConstructible &get_static_member() { in get_static_member()
159 return N0::X0<NonDefaultConstructible>::member; in get_static_member()
Dp2-0x.cpp9 struct NonDefaultConstructible { struct
10 NonDefaultConstructible(int);
25 template<> void f0(NonDefaultConstructible) { } in f0() argument
27 void test_f0(NonDefaultConstructible NDC) { in test_f0()
154 NonDefaultConstructible X0<NonDefaultConstructible>::member;
163 NonDefaultConstructible &get_static_member() { in get_static_member()
164 return N0::X0<NonDefaultConstructible>::member; in get_static_member()
/external/clang/test/CXX/temp/temp.spec/temp.explicit/
Dp1.cpp53 struct NonDefaultConstructible { // expected-note{{candidate constructor (the implicit copy constru… struct
57 NonDefaultConstructible(int); // expected-note{{candidate constructor}}
91 NonDefaultConstructible X2<NonDefaultConstructible, int>::static_member1;
94NonDefaultConstructible X2<int, NonDefaultConstructible>::static_member2; // expected-note{{instan…
/external/llvm-project/clang/test/CXX/temp/temp.spec/temp.explicit/
Dp1.cpp53 struct NonDefaultConstructible { // expected-note{{candidate constructor (the implicit copy constru… struct
57 NonDefaultConstructible(int); // expected-note{{candidate constructor}}
91 NonDefaultConstructible X2<NonDefaultConstructible, int>::static_member1;
94NonDefaultConstructible X2<int, NonDefaultConstructible>::static_member2; // expected-note{{instan…
/external/libcxx/test/std/utilities/variant/variant.variant/variant.ctor/
Ddefault.pass.cpp34 struct NonDefaultConstructible { struct
35 constexpr NonDefaultConstructible(int) {} in NonDefaultConstructible() argument
54 using V = std::variant<NonDefaultConstructible, int>; in test_default_ctor_sfinae()
102 std::variant<int, NonDefaultConstructible> v; in test_default_ctor_basic()
119 using V = std::variant<int, NonDefaultConstructible>; in test_default_ctor_basic()
/external/llvm-project/libcxx/test/std/utilities/variant/variant.variant/variant.ctor/
Ddefault.pass.cpp31 struct NonDefaultConstructible { struct
32 constexpr NonDefaultConstructible(int) {} in NonDefaultConstructible() function
51 using V = std::variant<NonDefaultConstructible, int>; in test_default_ctor_sfinae()
99 std::variant<int, NonDefaultConstructible> v; in test_default_ctor_basic()
116 using V = std::variant<int, NonDefaultConstructible>; in test_default_ctor_basic()
/external/googletest/googlemock/test/
Dgmock_ex_test.cc44 class NonDefaultConstructible { class
46 explicit NonDefaultConstructible(int /* dummy */) {} in NonDefaultConstructible() function in __anon1df6f8090111::NonDefaultConstructible
53 MOCK_METHOD0(GetNonDefaultConstructible, NonDefaultConstructible());
Dgmock-spec-builders_test.cc142 class NonDefaultConstructible { class
144 explicit NonDefaultConstructible(int /* dummy */) {} in NonDefaultConstructible() function in __anonc7df66ec0111::NonDefaultConstructible
153 MOCK_METHOD0(ReturnNonDefaultConstructible, NonDefaultConstructible());
/external/llvm-project/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/
Dalloc.pass.cpp32 struct NonDefaultConstructible { struct
33 constexpr NonDefaultConstructible() { in NonDefaultConstructible() argument
37 explicit constexpr NonDefaultConstructible(int) {} in NonDefaultConstructible() argument
102 using T = NonDefaultConstructible<>; in main()
/external/openscreen/util/
Dflat_map_unittest.cc99 class NonDefaultConstructible { in TEST() class
101 NonDefaultConstructible(int x, int y) : x_(x), y_(y) {} in TEST() function in openscreen::TEST::NonDefaultConstructible
112 FlatMap<int, NonDefaultConstructible> flat_map; in TEST()
113 flat_map.emplace_back(3, NonDefaultConstructible(2, 3)); in TEST()
/external/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/
Dalloc.pass.cpp32 struct NonDefaultConstructible { struct
33 constexpr NonDefaultConstructible() { in NonDefaultConstructible() function
37 explicit constexpr NonDefaultConstructible(int) {} in NonDefaultConstructible() argument
102 using T = NonDefaultConstructible<>; in main()
/external/angle/third_party/abseil-cpp/absl/types/
Dvariant_test.cc275 struct NonDefaultConstructible { struct
276 NonDefaultConstructible() = delete;
316 std::is_default_constructible<variant<NonDefaultConstructible>>::value); in TEST()
318 variant<NonDefaultConstructible, int>>::value)); in TEST()
320 variant<int, NonDefaultConstructible>>::value)); in TEST()
1981 absl::variant<absl::monostate, NonDefaultConstructible> var; in TEST()
/external/openscreen/third_party/abseil/src/absl/types/
Dvariant_test.cc275 struct NonDefaultConstructible { struct
276 NonDefaultConstructible() = delete;
316 std::is_default_constructible<variant<NonDefaultConstructible>>::value); in TEST()
318 variant<NonDefaultConstructible, int>>::value)); in TEST()
320 variant<int, NonDefaultConstructible>>::value)); in TEST()
1981 absl::variant<absl::monostate, NonDefaultConstructible> var; in TEST()
/external/webrtc/third_party/abseil-cpp/absl/types/
Dvariant_test.cc275 struct NonDefaultConstructible { struct
276 NonDefaultConstructible() = delete;
316 std::is_default_constructible<variant<NonDefaultConstructible>>::value); in TEST()
318 variant<NonDefaultConstructible, int>>::value)); in TEST()
320 variant<int, NonDefaultConstructible>>::value)); in TEST()
1981 absl::variant<absl::monostate, NonDefaultConstructible> var; in TEST()
/external/libtextclassifier/abseil-cpp/absl/types/
Dvariant_test.cc275 struct NonDefaultConstructible { struct
276 NonDefaultConstructible() = delete;
316 std::is_default_constructible<variant<NonDefaultConstructible>>::value); in TEST()
318 variant<NonDefaultConstructible, int>>::value)); in TEST()
320 variant<int, NonDefaultConstructible>>::value)); in TEST()
1981 absl::variant<absl::monostate, NonDefaultConstructible> var; in TEST()
/external/abseil-cpp/absl/types/
Dvariant_test.cc275 struct NonDefaultConstructible { struct
276 NonDefaultConstructible() = delete;
316 std::is_default_constructible<variant<NonDefaultConstructible>>::value); in TEST()
318 variant<NonDefaultConstructible, int>>::value)); in TEST()
320 variant<int, NonDefaultConstructible>>::value)); in TEST()
1981 absl::variant<absl::monostate, NonDefaultConstructible> var; in TEST()
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/types/
Dvariant_test.cc275 struct NonDefaultConstructible { struct
276 NonDefaultConstructible() = delete;
316 std::is_default_constructible<variant<NonDefaultConstructible>>::value); in TEST()
318 variant<NonDefaultConstructible, int>>::value)); in TEST()
320 variant<int, NonDefaultConstructible>>::value)); in TEST()
1981 absl::variant<absl::monostate, NonDefaultConstructible> var; in TEST()