Home
last modified time | relevance | path

Searched refs:NoCopy (Results 1 – 4 of 4) sorted by relevance

/external/clang/test/CXX/dcl.decl/dcl.init/
Dp14-0x.cpp10 struct NoCopy { struct
11 NoCopy();
12 NoCopy(const NoCopy &) = delete; // expected-note {{here}}
34 NoCopy nc = NoCopy(); // expected-error {{call to deleted}}
/external/clang/test/CXX/stmt.stmt/stmt.iter/stmt.ranged/
Dp1.cpp167 struct NoCopy { in g() struct
168 NoCopy(); in g()
169 NoCopy(const NoCopy &) = delete; in g()
173 for (int n : NoCopy()) { // ok in g()
/external/clang/test/SemaCXX/
Dlambda-expressions.cpp355 struct NoCopy { struct
356 NoCopy(int);
357 NoCopy(const NoCopy &) = delete; // expected-note {{deleted}}
360 template void f<NoCopy>(); // expected-note {{instantiation}}
/external/clang/test/Analysis/
Dmalloc.mm122 // Test CF/NS...NoCopy. PR12100: Pointers can escape when custom deallocators are provided.