/minix/external/bsd/llvm/dist/clang/test/SemaCXX/ |
H A 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()
|
H A D | overloaded-builtin-operators.cpp | 29 typedef void (X::*pmf)(); typedef 31 operator pmf(); 38 void f(Short s, Long l, Enum1 e1, Enum2 e2, Xpmf pmf) { in f() argument 52 (void)(pmf == &X::f); in f() 53 (void)(pmf == 0); in f() 72 operator pmf&(); 94 pmf &pmr = (pmf_ref = &X::f); // expected-error{{no viable overloaded '='}} in g() 95 pmf pmr2; in g()
|
H A D | builtin-ptrtomember-overload.cpp | 15 void foo(C c, B b, int A::* pmf) { in foo() argument 16 int j = c->*pmf; in foo() 17 int i = b->*pmf; in foo()
|
H A 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()
|
H A D | nullptr.cpp | 26 void (A::*pmf)() = nullptr; in f() local 27 pmf = null; in f() 175 template<int (*fp)(int), int* p, int A::* pmd, int (A::*pmf)(int)>
|
H A D | member-pointer.cpp | 81 void (HasMembers::*pmf)() = &HasMembers::f; in g() local
|
/minix/external/bsd/llvm/dist/clang/test/CXX/expr/expr.mptr.oper/ |
H A 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()
|
/minix/external/bsd/llvm/dist/clang/test/SemaObjCXX/ |
H A D | arc-memfunc.mm | 13 id (X0::*pmf)() __attribute__((ns_returns_retained)) = &X0::makeObject2; 14 (x0.*pmf)(); 15 (x0p->*pmf)();
|
/minix/external/bsd/llvm/dist/clang/test/CodeGenCXX/ |
H A D | member-function-pointers.cpp | 90 bool (A::*pmf)(int*) const; member 93 B1() : pmf(&A::foo), pa(&a) {} in B1() 94 bool operator()() const { return (pa->*pmf)(new int); } in operator ()() 211 typedef int (X::*pmf)(int); typedef 214 pmf f() { in f() 216 return pmf(); in f()
|
H A D | ptr-to-member-function.cpp | 49 bool (A::*pmf)(int*) const; member 51 B1(int i) : pmf(&A::foo), im(i) { in B1() 52 ((A*)this->*pmf)(&im); in B1()
|
H A D | reference-cast.cpp | 105 typedef int (X::*pmf)(int); typedef 108 pmf get_pointer_to_member_function();
|
H A D | nullptr.cpp | 19 int (X::*pmf)(int) = get_nullptr(); in g() local
|
/minix/external/bsd/libc++/dist/libcxx/test/language.support/support.types/ |
H A D | nullptr_t.pass.cpp | 27 void (A::*pmf)() = 0; in main() local 30 assert(pmf == nullptr); in main()
|
/minix/external/bsd/llvm/dist/clang/test/CXX/temp/temp.arg/temp.arg.nontype/ |
H A D | p1-11.cpp | 46 template<int (X::*pmf)(int)> struct PMF { // expected-note 2 {{template parameter is declared here}} 47 PMF<pmf> *pmf2;
|
/minix/external/bsd/llvm/dist/clang/test/CXX/dcl.decl/ |
H A D | p4-0x.cpp | 9 void (X::*pmf)() & = &X::f; variable
|
/minix/external/bsd/llvm/dist/clang/test/CXX/temp/temp.param/ |
H A D | p4.cpp | 15 template<float (X::*pmf)(float, int)> struct A9;
|
/minix/external/bsd/llvm/dist/clang/test/CodeGenObjCXX/ |
H A D | arc.mm | 132 id (Test35_Helper::*pmf)() __attribute__((ns_returns_retained)) 136 id obj4 = (x0.*pmf)(); 139 id obj5 = (x0p->*pmf)(); 160 id (Test35_Helper::*pmf)() = &Test35_Helper::makeObject4; 163 id obj4 = (x0.*pmf)(); 166 id obj5 = (x0p->*pmf)();
|
/minix/external/bsd/llvm/dist/clang/test/CXX/dcl.dcl/dcl.spec/dcl.type/dcl.spec.auto/ |
H A D | p3-generic-lambda-1y.cpp | 68 auto l3 = [](char (auto::*pmf)()) { }; //expected-error{{'auto' not allowed}}\ in main() argument
|
/minix/external/bsd/llvm/dist/clang/test/SemaTemplate/ |
H A D | instantiate-local-class.cpp | 61 pmf_type pmf = &T::foo; in foo() local
|
H A D | temp_arg_nontype.cpp | 82 template<int (Z::*pmf)(int)> struct A6; // expected-note{{template parameter is declared here}}
|
/minix/external/bsd/bind/dist/unit/atf-src/m4/ |
H A D | developer-mode.m4 | 93 -Wno-pmf-conversions \
|
/minix/share/mk/ |
H A D | bsd.sys.mk | 82 CXXFLAGS+= ${${ACTIVE_CXX} == "gcc":? -Wno-non-template-friend -Wno-pmf-conversions :}
|
/minix/external/bsd/libc++/dist/libcxx/src/ |
H A D | locale.cpp | 628 __fake_bind(void (locale::id::* pmf)(), locale::id* id) in __fake_bind() argument 629 : id_(id), pmf_(pmf) {} in __fake_bind()
|
/minix/distrib/sets/lists/man/ |
H A D | mi | 3188 ./usr/share/man/cat9lua/pmf.0 man-sys-catman .cat 5945 ./usr/share/man/html9lua/pmf.html man-sys-htmlman html 9091 ./usr/share/man/man9lua/pmf.9lua man-sys-man .man
|
/minix/distrib/sets/lists/comp/ |
H A D | mi | 2852 ./usr/include/sys/pmf.h comp-obsolete obsolete 10340 ./usr/share/man/cat9/pmf.0 comp-sys-catman .cat 17157 ./usr/share/man/html9/pmf.html comp-sys-htmlman html 24138 ./usr/share/man/man9/pmf.9 comp-sys-man .man
|