/external/llvm/unittests/ADT/ |
D | OptionalTest.cpp | 16 struct NonDefaultConstructible { struct 20 explicit NonDefaultConstructible(int) { in NonDefaultConstructible() argument 22 NonDefaultConstructible(const NonDefaultConstructible&) { in NonDefaultConstructible() argument 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/clang/test/CXX/temp/temp.spec/temp.expl.spec/ |
D | p15.cpp | 3 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()
|
D | p1.cpp | 9 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()
|
D | p2.cpp | 12 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()
|
D | p2-0x.cpp | 9 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/ |
D | p1.cpp | 53 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; 94 …NonDefaultConstructible X2<int, NonDefaultConstructible>::static_member2; // expected-note{{instan…
|
/external/googletest/googlemock/test/ |
D | gmock_ex_test.cc | 43 class NonDefaultConstructible { class 45 explicit NonDefaultConstructible(int /* dummy */) {} in NonDefaultConstructible() function in __anon4979cf210111::NonDefaultConstructible 52 MOCK_METHOD0(GetNonDefaultConstructible, NonDefaultConstructible());
|
D | gmock-spec-builders_test.cc | 138 class NonDefaultConstructible { class 140 explicit NonDefaultConstructible(int /* dummy */) {} in NonDefaultConstructible() function in __anon785e9f040111::NonDefaultConstructible 149 MOCK_METHOD0(ReturnNonDefaultConstructible, NonDefaultConstructible());
|
/external/v8/testing/gmock/test/ |
D | gmock_ex_test.cc | 43 class NonDefaultConstructible { class 45 explicit NonDefaultConstructible(int /* dummy */) {} in NonDefaultConstructible() function in __anon09de2e890111::NonDefaultConstructible 52 MOCK_METHOD0(GetNonDefaultConstructible, NonDefaultConstructible());
|
D | gmock-spec-builders_test.cc | 139 class NonDefaultConstructible { class 141 explicit NonDefaultConstructible(int /* dummy */) {} in NonDefaultConstructible() function in __anone4c78d6c0111::NonDefaultConstructible 150 MOCK_METHOD0(ReturnNonDefaultConstructible, NonDefaultConstructible());
|
/external/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/ |
D | alloc.pass.cpp | 32 struct NonDefaultConstructible { struct 33 constexpr NonDefaultConstructible() { in NonDefaultConstructible() function 37 explicit constexpr NonDefaultConstructible(int) {} in NonDefaultConstructible() argument 102 using T = NonDefaultConstructible<>; in main()
|
/external/libcxx/test/std/utilities/variant/variant.variant/variant.ctor/ |
D | default.pass.cpp | 26 struct NonDefaultConstructible { struct 27 NonDefaultConstructible(int) {} in NonDefaultConstructible() argument 46 using V = std::variant<NonDefaultConstructible, int>; in test_default_ctor_sfinae()
|