| /llvm-project-15.0.7/clang/test/SemaCXX/ |
| H A D | member-pointer.cpp | 30 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 D | warn-unsequenced.cpp | 262 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() 267 …pf((pf = f) != nullptr, pf == nullptr); // cxx11-warning {{unsequenced modification and access to … in test()
|
| H A D | nullptr.cpp | 24 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 D | to_address_on_funcptr.verify.cpp | 18 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 D | to_address_on_funcptr.verify.cpp | 16 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 D | p8.cpp | 4 void f(void(*pf)(), T(*ptf)(T)) { in f() argument 5 (void)*pf; in f()
|
| H A D | p21.cpp | 7 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 D | p15.cpp | 4 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 D | p20.cpp | 4 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 D | ibm128-declarations.cpp | 14 __ibm128 pf; member in CTest 19 CTest(__ibm128 arg) : pf(arg), vf(arg) {} in CTest() 21 return pf + arg; in func2()
|
| H A D | ptr-to-datamember.cpp | 84 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 D | pr25786.c | 5 void (__attribute__((regparm(3), stdcall)) *pf) (); //expected-warning {{'stdcall' calling conventi… variable 10 void (__attribute__((regparm(3), stdcall)) *pf) (); variable
|
| H A D | conditional-expr.c | 27 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 D | p2-places.cpp | 19 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 D | doconcurrent01.f90 | 188 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 D | la-03.ll | 14 define protected void @pf() { 74 ; CHECK: larl %r2, pf 76 ret void() *@pf
|
| H A D | la-02.ll | 16 define protected void @pf() { 76 ; CHECK: lgrl %r2, pf@GOT 78 ret void() *@pf
|
| /llvm-project-15.0.7/openmp/libompd/src/ |
| H A D | Debug.h | 47 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 D | gpreg-lazy-binding.ll | 28 define void @no_lazy(void (i32)* %pf) { 33 tail call void %pf(i32 1)
|
| /llvm-project-15.0.7/clang/test/PCH/ |
| H A D | chain-cxx.cpp | 22 void pf(); 121 pf(); in test()
|
| /llvm-project-15.0.7/flang/test/Evaluate/ |
| H A D | rewrite01.f90 | 66 procedure(foo), pointer :: pf local 77 print *, rank(pf(1))
|
| /llvm-project-15.0.7/llvm/test/CodeGen/ARM/ |
| H A D | isel-v8i32-crash.ll | 15 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 D | x87.ll | 8 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 D | make_shared.pass.cpp | 56 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 D | zfh-imm.ll | 11 define half @f16_positive_zero(half *%pf) nounwind { 34 define half @f16_negative_zero(half *%pf) nounwind {
|