Home
last modified time | relevance | path

Searched refs:pf (Results 1 – 25 of 54) sorted by relevance

123

/llvm-project-15.0.7/clang/test/SemaCXX/
H A Dmember-pointer.cpp30 int (A::*pf)(int, int); in f() local
37 pf = 0; in f()
38 pf = __null; in f()
54 bool b1 = (pf == pf2); (void)b1; in f()
55 bool b2 = (pf != pf2); (void)b2; in f()
56 bool b3 = (pf == pf3); (void)b3; in f()
57 bool b4 = (pf != 0); (void)b4; in f()
111 void (HasMembers::*pf)() = &HasMembers::f; in h() local
112 (hm.*pf)(); in h()
113 (phm->*pf)(); in h()
H A Dwarn-unsequenced.cpp262 int (*pf)(int, int); in test() local
263 …(pf = f)(pf != nullptr, pf != nullptr); // cxx11-warning {{unsequenced modification and access to … in test()
264 pf((pf = f) != nullptr, 42); // cxx11-warning {{unsequenced modification and access to 'pf'}} in test()
265 f((pf = f, 42), (pf = f, 42)); // cxx11-warning {{multiple unsequenced modifications to 'pf'}} in test()
267pf((pf = f) != nullptr, pf == nullptr); // cxx11-warning {{unsequenced modification and access to … in test()
H A Dnullptr.cpp24 void (*pf)() = nullptr; in f() local
25 pf = null; in f()
/llvm-project-15.0.7/libcxx/test/std/utilities/memory/pointer.conversion/
H A Dto_address_on_funcptr.verify.cpp18 int (*pf)(); variable
21 (void)std::to_address(pf); // expected-error@*:* {{is a function type}} in test()
/llvm-project-15.0.7/libcxx/test/libcxx/utilities/memory/pointer.conversion/
H A Dto_address_on_funcptr.verify.cpp16 int (*pf)(); variable
19 (void)std::__to_address(pf); // expected-error@*:* {{is a function type}} in test()
/llvm-project-15.0.7/clang/test/CXX/over/over.built/
H A Dp8.cpp4 void f(void(*pf)(), T(*ptf)(T)) { in f() argument
5 (void)*pf; in f()
H A Dp21.cpp7 void f(int A::* pi, float A::* pf, int T::* pt, T A::* pu, T t) { in f() argument
9 pi = pf; // expected-error {{assigning to 'int A::*' from incompatible type 'float A::*'}} in f()
H A Dp15.cpp4 void f(int* pi, float* pf, T* pt, U* pu, T t) { in f() argument
6 (void)(pi - pf); // expected-error {{not pointers to compatible types}} in f()
H A Dp20.cpp4 void f(int* pi, float* pf, T* pt, U* pu, T t) { in f() argument
6 pi = pf; // expected-error {{incompatible pointer types}} in f()
/llvm-project-15.0.7/clang/test/CodeGenCXX/
H A Dibm128-declarations.cpp14 __ibm128 pf; member in CTest
19 CTest(__ibm128 arg) : pf(arg), vf(arg) {} in CTest()
21 return pf + arg; in func2()
H A Dptr-to-datamember.cpp84 float A::* pf = &A::f; in main() local
95 printf("%d, %f, %f \n", a1.*pa, a1.*pf, a1.*pd); in main()
/llvm-project-15.0.7/clang/test/Sema/
H A Dpr25786.c5 void (__attribute__((regparm(3), stdcall)) *pf) (); //expected-warning {{'stdcall' calling conventi… variable
10 void (__attribute__((regparm(3), stdcall)) *pf) (); variable
H A Dconditional-expr.c27 int (*pf)[2]; in foo() local
29 pf = (i ? pf : pv); in foo()
/llvm-project-15.0.7/clang/test/CXX/except/except.spec/
H A Dp2-places.cpp19 typedef int (*pf)() throw(int); // expected-error {{specifications are not allowed in typedefs}} typedef
54 …typedef int (*pf)() noexcept(false); // expected-error {{specifications are not allowed in typedef… typedef
/llvm-project-15.0.7/flang/test/Semantics/
H A Ddoconcurrent01.f90188 pure integer function pf()
189 end function pf
197 procedure(pf), pointer, nopass :: pureProcComponent
/llvm-project-15.0.7/llvm/test/CodeGen/SystemZ/
H A Dla-03.ll14 define protected void @pf() {
74 ; CHECK: larl %r2, pf
76 ret void() *@pf
H A Dla-02.ll16 define protected void @pf() {
76 ; CHECK: lgrl %r2, pf@GOT
78 ret void() *@pf
/llvm-project-15.0.7/openmp/libompd/src/
H A DDebug.h47 const ColorOut &operator<<(std::ostream &(*pf)(std::ostream &)) const {
48 out << color << pf << GdbColor::FG_DEFAULT;
/llvm-project-15.0.7/llvm/test/CodeGen/Mips/
H A Dgpreg-lazy-binding.ll28 define void @no_lazy(void (i32)* %pf) {
33 tail call void %pf(i32 1)
/llvm-project-15.0.7/clang/test/PCH/
H A Dchain-cxx.cpp22 void pf();
121 pf(); in test()
/llvm-project-15.0.7/flang/test/Evaluate/
H A Drewrite01.f9066 procedure(foo), pointer :: pf local
77 print *, rank(pf(1))
/llvm-project-15.0.7/llvm/test/CodeGen/ARM/
H A Disel-v8i32-crash.ll15 define void @func(i16* nocapture %pb, float* nocapture readonly %pf) #0 {
17 %0 = bitcast float* %pf to <8 x float>*
/llvm-project-15.0.7/llvm/test/CodeGen/X86/
H A Dx87.ll8 define void @test(i32 %i, i64 %l, ptr %pf, ptr %pd, ptr %pld) nounwind readnone {
27 store float %tmp2, ptr %pf
/llvm-project-15.0.7/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.create/
H A Dmake_shared.pass.cpp56 static void resultDeletor(Result (*pf)()) { in resultDeletor() argument
57 assert(pf == theFunction); in resultDeletor()
/llvm-project-15.0.7/llvm/test/CodeGen/RISCV/
H A Dzfh-imm.ll11 define half @f16_positive_zero(half *%pf) nounwind {
34 define half @f16_negative_zero(half *%pf) nounwind {

123