Home
last modified time | relevance | path

Searched defs:RefPtr (Results 1 – 13 of 13) sorted by relevance

/external/llvm-project/clang/test/Analysis/Checkers/WebKit/
Dmock-types.h14 template <typename T> struct RefPtr { struct
17 RefPtr() : t(new T) {} in RefPtr() argument
18 RefPtr(T *t) : t(t) {} in RefPtr() argument
22 RefPtr &operator=(T *) { return *this; } argument
Duncounted-members.cpp38 union RefPtr { union
/external/llvm-project/clang/test/CXX/dcl.decl/dcl.meaning/dcl.ref/
Dp5.cpp47 struct RefPtr { struct
52 intrefptr;
57 intrefptr2;
62 refptr0;
66 refptr1;
73 refptr2; // expected-note {{in instantiation}}
/external/clang/test/CXX/dcl.decl/dcl.meaning/dcl.ref/
Dp5.cpp47 struct RefPtr { struct
52 intrefptr;
57 intrefptr2;
62 refptr0;
66 refptr1;
73 refptr2; // expected-note {{in instantiation}}
/external/tensorflow/tensorflow/compiler/xrt/
Dxrt_refptr.h33 RefPtr(T* ptr) : ptr_(ptr) {} // NOLINT in RefPtr() function
34 RefPtr(const RefPtr& other) : ptr_(other.ptr_) { Acquire(ptr_); } in RefPtr() function
35 RefPtr(RefPtr&& other) : ptr_(other.ptr_) { other.ptr_ = nullptr; } in RefPtr() function
/external/clang/test/SemaTemplate/
Dvirtual-member-functions.cpp133 struct RefPtr { struct
134 T *m_ptr;
135 ~RefPtr() { m_ptr->deref(); } in ~RefPtr()
156 struct RefPtr { struct
168 …) {} // expected-note {{in instantiation of member function 'vtable_uses_incomplete::RefPtr<vtable… in UsesVTable()
Dinstantiate-default-assignment-operator.cpp3 template<typename T> struct RefPtr { struct
4RefPtr& operator=(const RefPtr&) { int a[sizeof(T) ? -1 : -1];} // expected-error 2 {{array with a… in operator =() argument
/external/llvm-project/clang/test/SemaTemplate/
Dvirtual-member-functions.cpp179 struct RefPtr { struct
180 T *m_ptr;
181 ~RefPtr() { m_ptr->deref(); } in ~RefPtr()
202 struct RefPtr { struct
214 …) {} // expected-note {{in instantiation of member function 'vtable_uses_incomplete::RefPtr<vtable… in UsesVTable()
Dinstantiate-default-assignment-operator.cpp3 template<typename T> struct RefPtr { struct
4RefPtr& operator=(const RefPtr&) { int a[sizeof(T) ? -1 : -1];} // expected-error 2 {{array with a… in operator =() argument
/external/clang/test/CodeGenCXX/
Dvtable-available-externally.cpp86 template <class T> struct RefPtr { struct
87 T* p;
88 ~RefPtr() { in ~RefPtr()
/external/llvm-project/clang/test/CodeGenCXX/
Dvtable-available-externally.cpp91 template <class T> struct RefPtr { struct
92 T* p;
93 ~RefPtr() { in ~RefPtr()
/external/clang/test/CXX/dcl.dcl/basic.namespace/namespace.udecl/
Dp12.cpp17 template<typename> struct RefPtr { }; struct
/external/llvm-project/clang/test/CXX/dcl.dcl/basic.namespace/namespace.udecl/
Dp12.cpp17 template<typename> struct RefPtr { }; struct