Searched refs:unique_ptr (Results 1 - 3 of 3) sorted by relevance

/external/clang/test/CodeGenCXX/
H A Ddebug-info-template-array.cpp4 struct unique_ptr { struct
5 unique_ptr() {} function in struct:unique_ptr
13 unique_ptr<Vertex<2>[]> v = unique_ptr<Vertex<2>[]>();
/external/clang/test/SemaCXX/
H A Drval-references-examples.cpp4 class unique_ptr { class
7 unique_ptr(const unique_ptr&) = delete; // expected-note 3{{function has been explicitly marked deleted here}}
8 unique_ptr &operator=(const unique_ptr&) = delete; // expected-note{{candidate function has been explicitly deleted}}
10 unique_ptr() : ptr(0) { } function in class:unique_ptr
11 unique_ptr(unique_ptr &&other) : ptr(other.ptr) { other.ptr = 0; } function in class:unique_ptr
12 explicit unique_ptr(T *ptr) : ptr(ptr) { } function in class:unique_ptr
14 ~unique_ptr() { delet
[all...]
/external/llvm/unittests/Support/
H A DErrorOrTest.cpp37 ErrorOr<std::unique_ptr<int> > t3() {
38 return std::unique_ptr<int>(new int(3));
65 ErrorOr<std::unique_ptr<B> > b1(ErrorOr<std::unique_ptr<D> >(0));
66 b1 = ErrorOr<std::unique_ptr<D> >(0);

Completed in 126 milliseconds