| /llvm-project-15.0.7/clang/test/SemaCXX/ |
| H A D | decl-microsoft-call-conv.cpp | 60 void_fun_t __stdcall member_typedef_stdcall; 68 static void __stdcall static_member_stdcall1(); 69 static void __stdcall static_member_stdcall2(); 90 void __stdcall S::member_typedef_stdcall() {} in member_typedef_stdcall() 131 static void __stdcall overloaded(short a); 143 void __stdcall friend_stdcall1() {} in friend_stdcall1() 149 friend void __stdcall friend_stdcall2(); 154 void __stdcall friend_stdcall2() {} in friend_stdcall2() 164 void __cdecl __cdecl __stdcall __cdecl __fastcall __vectorcall multi_cc(int x); 166 template <typename T> void __stdcall StdcallTemplate(T) {} in StdcallTemplate() [all …]
|
| H A D | ms-iunknown-template-function.cpp | 15 #define __stdcall macro 22 virtual HRESULT __stdcall QueryInterface( 26 virtual ULONG __stdcall AddRef(void) = 0; 28 virtual ULONG __stdcall Release(void) = 0; 31 HRESULT __stdcall QueryInterface(Q **pp) { in QueryInterface()
|
| H A D | calling-conv-compat.cpp | 10 void __stdcall free_func_stdcall(); 15 typedef void (__stdcall *fptr_stdcall)(); 102 typedef void (__stdcall &fref_stdcall)(); 326 mptr_t __stdcall return_mptr_std(short) { in return_mptr_std() 351 void __stdcall method_stdcall(); 357 void (__stdcall A::*mp3)() = &A::method_stdcall; 363 typedef void (__stdcall fun_stdcall)(); 377 X<void __stdcall ()>::p tmpl3 = &A::method_stdcall; 403 void pass_fptr_stdcall (void (__stdcall *fp)()); 424 template<typename T, T (__stdcall f)()> void g();
|
| /llvm-project-15.0.7/clang/test/CodeGen/ |
| H A D | microsoft-call-conv.c | 6 void __stdcall f2(void); 13 void __stdcall f5(void) { in f5() 31 void (__stdcall *pf2)(void) = f2; 34 void (__stdcall *pf5)(void) = f5; 56 void __stdcall f7(foo) int foo; {} in f7() 67 void __stdcall f11(int x, ...) {}; in f11()
|
| H A D | microsoft-call-conv-x64.c | 4 void __stdcall f2(void); 10 void __stdcall f5(void) { in f5() 18 void (__stdcall *pf2)(void) = f2; 20 void (__stdcall *pf5)(void) = f5; 35 void __stdcall f7(foo) int foo; {} in f7()
|
| H A D | mangle-windows.c | 13 void __stdcall f1(void) {} in f1() 25 void __stdcall f3(void) {} in f3()
|
| /llvm-project-15.0.7/clang/test/CodeGenCXX/ |
| H A D | mangle-windows.cpp | 7 void __stdcall f1(void) {} in f1() 15 extern "C" void __stdcall f3(void) {} in f3() 28 void __stdcall foo(); 29 static void __stdcall bar(); 43 extern "C" void __stdcall operator++(Foo &x) { in operator ++()
|
| H A D | microsoft-abi-thunks.cpp | 144 virtual void __stdcall foo(); 147 virtual void __stdcall foo(); 150 virtual void __stdcall foo();
|
| H A D | microsoft-abi-byval-thunks.cpp | 41 struct A { virtual void __stdcall foo(Agg x); }; 42 struct B { virtual void __stdcall foo(Agg x); }; 43 struct C : A, B { C(); virtual void __stdcall foo(Agg x); };
|
| H A D | microsoft-abi-structors.cpp | 478 __stdcall G() {}; in G() 480 __stdcall ~G() {}; in ~G()
|
| /llvm-project-15.0.7/clang/test/Sema/ |
| H A D | decl-microsoft-call-conv.c | 9 void __stdcall CrcGenerateTableStdcall(void); 10 void __stdcall CrcGenerateTableStdcall(); 11 void __stdcall CrcGenerateTableStdcall() {} in CrcGenerateTableStdcall() 23 void __stdcall CrcGenerateTableNoProtoStdcall(); // expected-warning{{function with no prototype ca… 29 void __stdcall CrcGenerateTableNoProtoDefStdcall() {} in CrcGenerateTableNoProtoDefStdcall()
|
| H A D | MicrosoftCompatibility-x64.c | 7 int __stdcall f(void); 11 int __stdcall func_std(void);
|
| H A D | mingw-macro-qualified-type.c | 10 #define WINAPI __stdcall 11 #define CALLBACK __stdcall
|
| H A D | calling-conv-complete-params.c | 19 EXTERN_C void __stdcall fwd_std(struct Foo p); 23 void (__stdcall *fp_fwd_std)(struct Foo) = &fwd_std;
|
| /llvm-project-15.0.7/clang/test/PCH/ |
| H A D | single-token-macro.c | 15 #ifdef __stdcall 17 #undef __stdcall 20 #define __stdcall macro 21 #define STDCALL __stdcall
|
| /llvm-project-15.0.7/llvm/test/Demangle/ |
| H A D | ms-windows.test | 8 ; CHECK: static void __stdcall Foo::bar(void) 11 ; CHECK: void __stdcall Foo::bar(void) 17 ; CHECK: void __stdcall f1(void)
|
| /llvm-project-15.0.7/compiler-rt/test/asan/TestCases/Windows/ |
| H A D | rtlallocateheap_dll_unload_realloc.cpp | 14 using AllocateFunctionPtr = PVOID(__stdcall *)(PVOID, ULONG, SIZE_T); 15 using FreeFunctionPtr = PVOID(__stdcall *)(PVOID, ULONG, PVOID); 16 using RtlReAllocateHeapPtr = PVOID(__stdcall *)(PVOID, ULONG, PVOID, SIZE_T);
|
| H A D | rtlallocateheap_zero.cpp | 10 using AllocateFunctionPtr = PVOID(__stdcall *)(PVOID, ULONG, SIZE_T); 11 using ReAllocateFunctionPtr = PVOID(__stdcall *)(PVOID, ULONG, PVOID, SIZE_T); 12 using FreeFunctionPtr = PVOID(__stdcall *)(PVOID, ULONG, PVOID);
|
| H A D | heapalloc_rtl_transfer.cpp | 10 using AllocateFunctionPtr = PVOID(__stdcall *)(PVOID, ULONG, SIZE_T); 11 using ReAllocateFunctionPtr = PVOID(__stdcall *)(PVOID, ULONG, PVOID, SIZE_T); 13 using FreeFunctionPtr = PVOID(__stdcall *)(PVOID, ULONG, PVOID);
|
| H A D | rtlallocateheap.cpp | 9 using AllocateFunctionPtr = PVOID(__stdcall *)(PVOID, ULONG, SIZE_T); 10 using FreeFunctionPtr = PVOID(__stdcall *)(PVOID, ULONG, PVOID);
|
| H A D | rtlallocateheap_flags_fallback.cpp | 11 using AllocateFunctionPtr = PVOID(__stdcall *)(PVOID, ULONG, SIZE_T); 12 using FreeFunctionPtr = PVOID(__stdcall *)(PVOID, ULONG, PVOID);
|
| H A D | rtlallocateheap_dll_unload_double_free.cpp | 14 using AllocateFunctionPtr = PVOID(__stdcall *)(PVOID, ULONG, SIZE_T); 15 using FreeFunctionPtr = PVOID(__stdcall *)(PVOID, ULONG, PVOID);
|
| /llvm-project-15.0.7/clang/test/Parser/ |
| H A D | MicrosoftExtensions.c | 2 __stdcall int func0(void); 3 int __stdcall func(void); 6 extern __declspec(dllimport) void __stdcall VarR4FromDec(void); 98 typedef void(*ignored_quals_dummy3)(void), __stdcall ignored_quals3; // expected-warning {{qualifie…
|
| H A D | MicrosoftExtensions.cpp | 389 typedef bool (__stdcall __stdcall *blarg)(int); 392 bool (__stdcall *p)(int); 419 typedef void(*ignored_quals_dummy3)(), __stdcall ignored_quals3; // expected-warning {{qualifiers a…
|
| /llvm-project-15.0.7/compiler-rt/lib/interception/ |
| H A D | interception.h | 132 extern "C" __declspec(dllimport) ret_type __stdcall func(__VA_ARGS__); 250 typedef ret_type (__stdcall *FUNC_TYPE(func))(__VA_ARGS__); \ 256 ret_type __stdcall WRAP(func)(__VA_ARGS__)
|