Home
last modified time | relevance | path

Searched defs:smart_ptr (Results 1 – 9 of 9) sorted by relevance

/llvm-project/clang/test/Analysis/
H A Dos_smart_ptr.h9 struct smart_ptr { struct
10 smart_ptr() : pointer(nullptr) {} in smart_ptr() argument
12 explicit smart_ptr(T *&p) : pointer(p) { in smart_ptr() argument
18 smart_ptr(smart_ptr const &rhs) : pointer(rhs.pointer) { in smart_ptr() argument
34 ~smart_ptr() { in ~smart_ptr() argument
41 smart_ptr().swap(*this); in reset() argument
63 swap(smart_ptr &p) { in swap() argument
70 _retain(T *obj) { in _retain()
75 _release(T *obj) { in _release()
80 _alloc() { in _alloc()
[all …]
/llvm-project/clang/test/Analysis/diagnostics/
H A Ddtors.cpp14 struct smart_ptr { struct
15 int x;
16 S *s;
18 S *get() { in get()
/llvm-project/clang/test/SemaTemplate/
H A Dinstantiate-declref.cpp75 struct smart_ptr { struct
87 void test_smart_ptr(smart_ptr<int> p) { in test_smart_ptr() argument
/llvm-project/clang/test/Index/
H A Dcomplete-memfunc-cvquals.cpp12 struct smart_ptr { struct
/llvm-project/clang-tools-extra/test/clang-tidy/checkers/performance/
H A Dunnecessary-copy-initialization-allowed-types.cpp15 struct smart_ptr { struct
H A Dunnecessary-value-param-allowed-types.cpp15 struct smart_ptr { struct
H A Dfor-range-copy-allowed-types.cpp36 struct smart_ptr { struct
/llvm-project/clang/test/SemaCXX/
H A Dconversion-function.cpp214 namespace smart_ptr { namespace
H A Dwarn-thread-safety-parsing.cpp1438 class smart_ptr { global() class