HomeSort by relevance Sort by last modified time
    Searched refs:RefPtr (Results 1 - 5 of 5) sorted by null

  /external/clang/test/SemaTemplate/
instantiate-default-assignment-operator.cpp 3 template<typename T> struct RefPtr {
4 RefPtr& operator=(const RefPtr&) { int a[sizeof(T) ? -1 : -1];} // expected-error 2 {{array with a negative size}}
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}}
virtual-member-functions.cpp 124 // vtable, we emit an implicit virtual dtor, which calls ~RefPtr, which requires
133 struct RefPtr {
135 ~RefPtr() { m_ptr->deref(); }
143 RefPtr<DeclaredOnly> m_insertionStyle;
156 struct RefPtr {
158 ~RefPtr() { m_ptr->deref(); } // expected-error {{member access into incomplete type 'vtable_uses_incomplete::DeclaredOnly'}}
166 RefPtr<DeclaredOnly> m_insertionStyle;
168 UsesVTable() {} // expected-note {{in instantiation of member function 'vtable_uses_incomplete::RefPtr<vtable_uses_incomplete::DeclaredOnly>::~RefPtr' requested here}}
  /external/clang/test/CXX/dcl.decl/dcl.meaning/dcl.ref/
p5.cpp 47 struct RefPtr {
  /external/clang/test/CodeGenCXX/
vtable-available-externally.cpp 83 // PR9114, test that we don't try to instantiate RefPtr<Node>.
86 template <class T> struct RefPtr {
88 ~RefPtr() {
101 RefPtr<Node> m;
105 RefPtr<B> b;
  /external/clang/test/CXX/dcl.dcl/basic.namespace/namespace.udecl/
p12.cpp 15 template<typename> struct RefPtr { };
19 template<typename T> struct PtrHash<RefPtr<T> > : PtrHash<T*> {

Completed in 82 milliseconds