Searched defs:RefPtr (Results 1 - 5 of 5) sorted by relevance

/external/clang/test/SemaTemplate/
H A Dinstantiate-default-assignment-operator.cpp3 template<typename T> struct RefPtr { struct
4 RefPtr& operator=(const RefPtr&) { int a[sizeof(T) ? -1 : -1];} // expected-error 2 {{array with a negative size}} argument
5 RefPtr& operator=(const PassRefPtr<T>&);
8 struct A { RefPtr<int> a; }; // expected-note {{instantiation of member function 'RefPtr<int>::operator=' requested here}}
9 struct B : RefPtr<float> { }; // expected-note {{in instantiation of member function 'RefPtr<float>::operator=' requested here}}
/external/clang/test/CodeGenCXX/
H A Dvtable-available-externally.cpp80 // PR9114, test that we don't try to instantiate RefPtr<Node>.
83 template <class T> struct RefPtr { struct in namespace:Test4
85 ~RefPtr() {
98 RefPtr<Node> m;
102 RefPtr<B> b;
/external/webkit/Source/JavaScriptCore/wtf/
H A DRefPtr.h21 // RefPtr and PassRefPtr are documented at http://webkit.org/coding/RefPtr.html
39 template<typename T> class RefPtr { class in namespace:WTF
42 ALWAYS_INLINE RefPtr() : m_ptr(0) { } function in class:WTF::RefPtr
43 ALWAYS_INLINE RefPtr(T* ptr) : m_ptr(ptr) { refIfNotNull(ptr); } function in class:WTF::RefPtr
44 ALWAYS_INLINE RefPtr(const RefPtr& o) : m_ptr(o.m_ptr) { refIfNotNull(m_ptr); } function in class:WTF::RefPtr
45 template<typename U> RefPtr(const RefPtr<U>& o) : m_ptr(o.get()) { refIfNotNull(m_ptr); } function in class:WTF::RefPtr
48 template<typename U> RefPtr(cons
52 ALWAYS_INLINE RefPtr(PlacementNewAdoptType) { } function in class:WTF::RefPtr
55 RefPtr(HashTableDeletedValueType) : m_ptr(hashTableDeletedValue()) { } function in class:WTF::RefPtr
93 template<typename T> template<typename U> inline RefPtr<T>::RefPtr(const PassRefPtr<U>& o) function in class:WTF::RefPtr
98 template<typename T> template<typename U> inline RefPtr<T>::RefPtr(const NonNullPassRefPtr<U>& o) function in class:WTF::RefPtr
[all...]
/external/clang/test/CXX/dcl.dcl/basic.namespace/namespace.udecl/
H A Dp12.cpp15 template<typename> struct RefPtr { }; struct in namespace:test0
19 template<typename T> struct PtrHash<RefPtr<T> > : PtrHash<T*> {
/external/clang/test/CXX/dcl.decl/dcl.meaning/dcl.ref/
H A Dp5.cpp47 struct RefPtr { struct

Completed in 203 milliseconds