/external/clang/test/SemaCXX/ |
D | builtin-ptrtomember-overload-1.cpp | 25 void foo(C c, int A::* pmf) { in foo() argument 26 int i = c->*pmf; in foo() 37 void foo1(C1 c1, int A::* pmf) { in foo1() argument 38 int i = c1->*pmf; in foo1() 39 c1->*pmf = 10; in foo1() 42 void foo1(C1 c1, int E::* pmf) { in foo1() argument 43 int i = c1->*pmf; // expected-error {{use of overloaded operator '->*' is ambiguous}} \ in foo1()
|
D | overloaded-builtin-operators.cpp | 28 typedef void (X::*pmf)(); typedef 30 operator pmf(); 37 void f(Short s, Long l, Enum1 e1, Enum2 e2, Xpmf pmf) { in f() argument 51 (void)(pmf == &X::f); in f() 52 (void)(pmf == 0); in f() 71 operator pmf&(); 93 pmf &pmr = (pmf_ref = &X::f); // expected-error{{no viable overloaded '='}} in g() 94 pmf pmr2; in g()
|
D | builtin-ptrtomember-overload.cpp | 14 void foo(C c, B b, int A::* pmf) { in foo() argument 15 int j = c->*pmf; in foo() 16 int i = b->*pmf; in foo()
|
D | builtin-ptrtomember-ambig.cpp | 19 void foo(C c, int A::* pmf) { in foo() argument 21 int i = c->*pmf; // expected-error {{use of overloaded operator '->*' is ambiguous}} \ in foo()
|
D | nullptr.cpp | 26 void (A::*pmf)() = nullptr; in f() local 27 pmf = null; in f() 170 template<int (*fp)(int), int* p, int A::* pmd, int (A::*pmf)(int)>
|
D | member-pointer.cpp | 80 void (HasMembers::*pmf)() = &HasMembers::f; in g() local
|
/external/clang/test/CXX/expr/expr.mptr.oper/ |
D | p6-0x.cpp | 15 void test(X *xp, int (X::*pmf)(int), int (X::*l_pmf)(int) &, in test() 18 (lvalue<X>().*pmf)(17); in test() 19 (xvalue<X>().*pmf)(17); in test() 20 (prvalue<X>().*pmf)(17); in test() 21 (xp->*pmf)(17); in test()
|
/external/clang/test/CodeGenCXX/ |
D | member-function-pointers.cpp | 93 bool (A::*pmf)(int*) const; member 96 B1() : pmf(&A::foo), pa(&a) {} in B1() 97 bool operator()() const { return (pa->*pmf)(new int); } in operator ()() 214 typedef int (X::*pmf)(int); typedef 217 pmf f() { in f() 219 return pmf(); in f()
|
D | ptr-to-member-function.cpp | 50 bool (A::*pmf)(int*) const; member 52 B1(int i) : pmf(&A::foo), im(i) { in B1() 53 ((A*)this->*pmf)(&im); in B1()
|
D | reference-cast.cpp | 105 typedef int (X::*pmf)(int); typedef 108 pmf get_pointer_to_member_function();
|
D | nullptr.cpp | 19 int (X::*pmf)(int) = get_nullptr(); in g() local
|
/external/clang/test/SemaObjCXX/ |
D | arc-memfunc.mm | 12 id (X0::*pmf)() __attribute__((ns_returns_retained)) = &X0::makeObject2; 13 (x0.*pmf)(); 14 (x0p->*pmf)();
|
/external/clang/test/CXX/temp/temp.arg/temp.arg.nontype/ |
D | p1-11.cpp | 39 template<int (X::*pmf)(int)> struct PMF { // expected-note 2 {{template parameter is declared here}} 40 PMF<pmf> *pmf2;
|
/external/stlport/test/unit/ |
D | mfunptr_test.cpp | 205 const_mem_fun1_ref_t<bool,V,int> pmf = mem_fun_ref( &V::f ); in find() local 206 binder2nd<const_mem_fun1_ref_t<bool,V,int> > b(pmf, 2); in find() 212 binder2nd<const_mem_fun1_ref_t<bool,V,int> > b2 = bind2nd( pmf, 2 ); in find()
|
/external/clang/test/CodeGenObjCXX/ |
D | arc.mm | 125 id (Test35_Helper::*pmf)() __attribute__((ns_returns_retained)) 129 id obj4 = (x0.*pmf)(); 132 id obj5 = (x0p->*pmf)(); 153 id (Test35_Helper::*pmf)() = &Test35_Helper::makeObject4; 156 id obj4 = (x0.*pmf)(); 159 id obj5 = (x0p->*pmf)();
|
/external/clang/test/CXX/dcl.decl/ |
D | p4-0x.cpp | 8 void (X::*pmf)() & = &X::f; variable
|
/external/clang/test/CXX/temp/temp.param/ |
D | p4.cpp | 15 template<float (X::*pmf)(float, int)> struct A9;
|
/external/clang/test/SemaTemplate/ |
D | instantiate-local-class.cpp | 61 pmf_type pmf = &T::foo; in foo() local
|
D | temp_arg_nontype.cpp | 79 template<int (Z::*pmf)(int)> struct A6; // expected-note{{template parameter is declared here}}
|