/external/clang/test/CXX/dcl.decl/dcl.init/ |
p14-0x.cpp | 10 struct NoCopy { 11 NoCopy(); 12 NoCopy(const NoCopy &) = delete; // expected-note {{here}} 34 NoCopy nc = NoCopy(); // expected-error {{call to deleted}}
|
/external/libcxx/test/std/utilities/any/any.class/any.cons/ |
value.pass.cpp | 136 struct NoCopy { 137 NoCopy() = default; 138 NoCopy(NoCopy const&) = delete; 139 NoCopy(int) {} 141 static_assert(!std::is_constructible<std::any, NoCopy>::value, ""); 142 static_assert(!std::is_constructible<std::any, NoCopy&>::value, ""); 143 static_assert(!std::is_convertible<NoCopy, std::any>::value, "");
|
in_place_type.pass.cpp | 148 struct NoCopy { 149 NoCopy() = default; 150 NoCopy(NoCopy const&) = delete; 151 NoCopy(int) {} 152 NoCopy(std::initializer_list<int>, int) {} 154 using Tag = std::in_place_type_t<NoCopy>; 155 using RefTag = std::in_place_type_t<NoCopy&>;
|
/external/libcxx/test/std/utilities/any/any.class/any.modifiers/ |
emplace.pass.cpp | 230 struct NoCopy { 231 NoCopy() = default; 232 NoCopy(NoCopy const&) = delete; 233 NoCopy(int) {} 234 NoCopy(std::initializer_list<int>, int, int) {} 236 static_assert(!has_emplace<NoCopy>(), ""); 237 static_assert(!has_emplace<NoCopy, int>(), ""); 238 static_assert(!has_emplace_init_list<NoCopy, int, int, int>(), ""); 239 static_assert(!has_emplace<NoCopy&>(), "") [all...] |
/external/libcxx/test/std/utilities/any/any.class/any.assign/ |
value.pass.cpp | 188 struct NoCopy { 189 NoCopy() = default; 190 NoCopy(NoCopy const&) = delete; 191 NoCopy(NoCopy&&) = default; 193 static_assert(!std::is_assignable<std::any, NoCopy>::value, ""); 194 static_assert(!std::is_assignable<std::any, NoCopy&>::value, "");
|
/external/libcxx/test/std/utilities/any/any.nonmembers/any.cast/ |
any_cast_pointer.pass.cpp | 142 // we still need to support any_cast<NoCopy>(ptr) 143 struct NoCopy { NoCopy(NoCopy const&) = delete; }; 146 assert(std::any_cast<NoCopy>(&a) == nullptr); 147 assert(std::any_cast<NoCopy>(&ca) == nullptr);
|
/external/libcxx/test/std/utilities/variant/variant.variant/variant.ctor/ |
copy.pass.cpp | 32 struct NoCopy { 33 NoCopy(const NoCopy &) = delete; 80 using V = std::variant<int, NoCopy>;
|
move.pass.cpp | 30 struct NoCopy { 31 NoCopy(const NoCopy &) = delete; 109 using V = std::variant<int, NoCopy>;
|
/hardware/qcom/display/msm8084/liboverlay/pipes/ |
overlayGenPipe.h | 38 class GenericPipe : utils::NoCopy {
|
/hardware/qcom/display/msm8226/liboverlay/pipes/ |
overlayGenPipe.h | 38 class GenericPipe : utils::NoCopy {
|
/hardware/qcom/display/msm8909/liboverlay/pipes/ |
overlayGenPipe.h | 38 class GenericPipe : utils::NoCopy {
|
/hardware/qcom/display/msm8960/liboverlay/pipes/ |
overlayGenPipe.h | 39 class GenericPipe : utils::NoCopy {
|
/hardware/qcom/display/msm8994/liboverlay/pipes/ |
overlayGenPipe.h | 38 class GenericPipe : utils::NoCopy {
|
/external/clang/test/CXX/stmt.stmt/stmt.iter/stmt.ranged/ |
p1.cpp | 186 struct NoCopy { 187 NoCopy(); 188 NoCopy(const NoCopy &) = delete; 192 for (int n : NoCopy()) { // ok
|
/external/libcxx/test/std/utilities/variant/variant.variant/variant.assign/ |
move.pass.cpp | 28 struct NoCopy { 29 NoCopy(const NoCopy &) = delete; 30 NoCopy &operator=(const NoCopy &) = default; 126 using V = std::variant<int, NoCopy>;
|
copy.pass.cpp | 26 struct NoCopy { 27 NoCopy(const NoCopy &) = delete; 28 NoCopy &operator=(const NoCopy &) = default; 173 using V = std::variant<int, NoCopy>;
|
/external/clang/test/SemaCXX/ |
lambda-expressions.cpp | 353 struct NoCopy { 354 NoCopy(int); 355 NoCopy(const NoCopy &) = delete; // expected-note {{deleted}} 358 template void f<NoCopy>(); // expected-note {{instantiation}}
|
/hardware/qcom/display/msm8084/liboverlay/ |
overlayCtrlData.h | 48 class Ctrl : utils::NoCopy { 97 class Data : utils::NoCopy {
|
overlayUtils.h | 112 * class SomeClass : utils::NoCopy {...}; 114 class NoCopy { 116 NoCopy(){} 117 ~NoCopy() {} 119 NoCopy(const NoCopy&); 120 const NoCopy& operator=(const NoCopy&);
|
/hardware/qcom/display/msm8226/liboverlay/ |
overlayCtrlData.h | 48 class Ctrl : utils::NoCopy { 97 class Data : utils::NoCopy {
|
overlayUtils.h | 112 * class SomeClass : utils::NoCopy {...}; 114 class NoCopy { 116 NoCopy(){} 117 ~NoCopy() {} 119 NoCopy(const NoCopy&); 120 const NoCopy& operator=(const NoCopy&);
|
/hardware/qcom/display/msm8909/liboverlay/ |
overlayCtrlData.h | 48 class Ctrl : utils::NoCopy { 97 class Data : utils::NoCopy {
|
overlayUtils.h | 112 * class SomeClass : utils::NoCopy {...}; 114 class NoCopy { 116 NoCopy(){} 117 ~NoCopy() {} 119 NoCopy(const NoCopy&); 120 const NoCopy& operator=(const NoCopy&);
|
/hardware/qcom/display/msm8960/liboverlay/ |
overlayCtrlData.h | 48 class Ctrl : utils::NoCopy { 95 class Data : utils::NoCopy {
|
/hardware/qcom/display/msm8994/liboverlay/ |
overlayCtrlData.h | 48 class Ctrl : utils::NoCopy { 97 class Data : utils::NoCopy {
|