Home
last modified time | relevance | path

Searched refs:NonConstCopyOnly (Results 1 – 2 of 2) sorted by relevance

/llvm-project-15.0.7/clang/test/SemaObjCXX/
H A Dblock-capture.mm17 // Both ConstCopyOnly and NonConstCopyOnly are
28 struct NonConstCopyOnly { struct
29 NonConstCopyOnly(); argument
30 NonConstCopyOnly(NonConstCopyOnly &); field
31 NonConstCopyOnly(const NonConstCopyOnly &) = delete; // cxx11_2b-note {{marked deleted here}} argument
33 TEST(NonConstCopyOnly); // cxx11_2b-error {{call to deleted constructor}} argument
/llvm-project-15.0.7/clang/test/CXX/class/class.init/class.copy.elision/
H A Dp3.cpp437 struct NonConstCopyOnly { struct
438 NonConstCopyOnly();
439 NonConstCopyOnly(NonConstCopyOnly &);
440 NonConstCopyOnly(const NonConstCopyOnly &) = delete; // cxx11_2b-note {{marked deleted here}}
442 NonConstCopyOnly t2() { in t2()
443 NonConstCopyOnly x; in t2()