OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:thiscall
(Results
1 - 25
of
47
) sorted by null
1
2
/external/clang/test/SemaCXX/
virtual-override-x64.cpp
9
virtual void __attribute__((
thiscall
)) f(); // expected-warning {{calling convention '
thiscall
' ignored for this target}}
19
void __attribute__((
thiscall
)) f(); // expected-warning {{calling convention '
thiscall
' ignored for this target}}
virtual-override-x86.cpp
6
virtual void __attribute__((
thiscall
)) f(); // expected-note{{overridden virtual function is here}}
11
void __attribute__((cdecl)) f(); // expected-error{{virtual function 'f' has different calling convention attributes ('void () __attribute__((cdecl))') than the function it overrides (which has calling convention 'void () __attribute__((
thiscall
))'}}
16
void __attribute__((
thiscall
)) f(); // This override is correct
21
void f(); // This override is correct because
thiscall
is the default calling convention for class members
31
void g(); // expected-error{{virtual function 'g' has different calling convention attributes ('void () __attribute__((
thiscall
))') than the function it overrides (which has calling convention 'void () __attribute__((stdcall))'}}
addr-of-overloaded-function.cpp
224
X = &Qualifiers::C; // expected-error-re {{assigning to 'void (test1::Qualifiers::*)(){{( __attribute__\(\(
thiscall
\)\))?}}' from incompatible type 'void (test1::Qualifiers::*)(){{( __attribute__\(\(
thiscall
\)\))?}} const': different qualifiers (none vs const)}}
225
X = &Qualifiers::V; // expected-error-re{{assigning to 'void (test1::Qualifiers::*)(){{( __attribute__\(\(
thiscall
\)\))?}}' from incompatible type 'void (test1::Qualifiers::*)(){{( __attribute__\(\(
thiscall
\)\))?}} volatile': different qualifiers (none vs volatile)}}
226
X = &Qualifiers::R; // expected-error-re{{assigning to 'void (test1::Qualifiers::*)(){{( __attribute__\(\(
thiscall
\)\))?}}' from incompatible type 'void (test1::Qualifiers::*)(){{( __attribute__\(\(
thiscall
\)\))?}} __restrict': different qualifiers (none vs restrict)}}
227
X = &Qualifiers::CV; // expected-error-re{{assigning to 'void (test1::Qualifiers::*)(){{( __attribute__\(\(
thiscall
\)\))?}}' from incompatible type 'void (test1::Qualifiers::*)(){{( __attribute__\(\(
thiscall
\)\))?}} const volatile': different qualifiers (none vs const and volatile)}}
228
X = &Qualifiers::CR; // expected-error-re{{assigning to 'void (test1::Qualifiers::*)(){{( __attribute__\(\(
thiscall
\)\))?}}' from incompatible type 'void (test1::Qualifiers::*)(){{( __attribute__\(\(
thiscall
\)\))?}} const __restrict': different qualifiers (none vs const and restrict)}
[
all
...]
err_init_conversion_failed.cpp
59
// expected-error-re@-1{{cannot initialize a member subobject of type 'void (template_test::S::*)(const int &){{( __attribute__\(\(
thiscall
\)\))?}}' with an rvalue of type 'void (template_test::S::*)(int){{( __attribute__\(\(
thiscall
\)\))?}}': type mismatch at 1st parameter ('const int &' vs 'int')}}
calling-conv-compat.cpp
182
// expected-note@+1 {{candidate function not viable: no known conversion from 'void (NonVariadic::A::*)() __attribute__((cdecl))' to 'memb_a_default' (aka 'void (NonVariadic::A::*)() __attribute__((
thiscall
))') for 1st argument}}
184
// expected-note@+2 {{candidate function not viable: no known conversion from 'void (NonVariadic::A::*)() __attribute__((
thiscall
))' to 'memb_a_cdecl' (aka 'void (NonVariadic::A::*)() __attribute__((cdecl))') for 1st argument}}
185
// expected-note@+1 {{candidate function not viable: no known conversion from 'void (NonVariadic::A::*)() __attribute__((
thiscall
))' to 'memb_a_cdecl' (aka 'void (NonVariadic::A::*)() __attribute__((cdecl))') for 1st argument}}
187
// expected-note@+1 {{candidate function not viable: no known conversion from 'void (NonVariadic::A::*)() __attribute__((cdecl))' to 'memb_a_thiscall' (aka 'void (NonVariadic::A::*)() __attribute__((
thiscall
))') for 1st argument}}
189
// expected-note@+1 {{candidate function not viable: no known conversion from 'void (NonVariadic::A::*)() __attribute__((cdecl))' to 'memb_b_default' (aka 'void (NonVariadic::B::*)() __attribute__((
thiscall
))') for 1st argument}}
191
// expected-note@+2 {{candidate function not viable: no known conversion from 'void (NonVariadic::A::*)() __attribute__((
thiscall
))' to 'memb_b_cdecl' (aka 'void (NonVariadic::B::*)() __attribute__((cdecl))') for 1st argument}}
192
// expected-note@+1 {{candidate function not viable: no known conversion from 'void (NonVariadic::A::*)() __attribute__((
thiscall
))' to 'memb_b_cdecl' (aka 'void (NonVariadic::B::*)() __attribute__((cdecl))') for 1st argument}}
194
// expected-note@+1 {{candidate function not viable: no known conversion from 'void (NonVariadic::A::*)() __attribute__((cdecl))' to 'memb_b_thiscall' (aka 'void (NonVariadic::B::*)() __attribute__((
thiscall
))') for 1st argument}}
196
// expected-note@+3 {{candidate function not viable: no known conversion from 'void (NonVariadic::A::*)() __attribute__((
thiscall
))' to 'memb_c_default' (aka 'void (NonVariadic::C::*)() __attribute__((
thiscall
))') for 1st argument}
[
all
...]
sourceranges.cpp
49
// CHECK: CXXConstructExpr {{0x[0-9a-fA-F]+}} <col:9, col:13> 'class foo::A' 'void (int){{( __attribute__\(\(
thiscall
\)\))?}}'
51
// CHECK: CXXConstructExpr {{0x[0-9a-fA-F]+}} <col:9, col:13> 'struct D' 'void (int){{( __attribute__\(\(
thiscall
\)\))?}}'
decl-microsoft-call-conv.cpp
93
void __thiscall S::member_cdecl2() {} // expected-error {{function declared '
thiscall
' here was previously declared 'cdecl'}}
96
void __cdecl S::member_thiscall2() {} // expected-error {{function declared 'cdecl' here was previously declared '
thiscall
'}}
137
// Friend function decls are cdecl by default, not
thiscall
. Friend method
reinterpret-cast.cpp
99
(void)reinterpret_cast<void (structure::*)()>(psi); // expected-error-re {{reinterpret_cast from 'const int structure::*' to 'void (structure::*)(){{( __attribute__\(\(
thiscall
\)\))?}}' is not allowed}}
100
(void)reinterpret_cast<int structure::*>(psf); // expected-error-re {{reinterpret_cast from 'void (structure::*)(){{( __attribute__\(\(
thiscall
\)\))?}}' to 'int structure::*' is not allowed}}
104
(void)reinterpret_cast<void (structure::*)()>(0); // expected-error-re {{reinterpret_cast from 'int' to 'void (structure::*)(){{( __attribute__\(\(
thiscall
\)\))?}}' is not allowed}}
const-cast.cpp
67
(void)const_cast<void (A::*)()>(mfn); // expected-error-re {{const_cast to 'void (A::*)(){{( __attribute__\(\(
thiscall
\)\))?}}', which is not a reference, pointer-to-object, or pointer-to-data-member}}
cstyle-cast.cpp
230
(void)(void (structure::*)())(psi); // expected-error-re {{C-style cast from 'const int structure::*' to 'void (structure::*)(){{( __attribute__\(\(
thiscall
\)\))?}}' is not allowed}}
231
(void)(int structure::*)(psf); // expected-error-re {{C-style cast from 'void (structure::*)(){{( __attribute__\(\(
thiscall
\)\))?}}' to 'int structure::*' is not allowed}}
/external/clang/test/CXX/expr/expr.mptr.oper/
p5.cpp
27
(pc->*pm)(); // expected-error-re{{call to pointer to member function of type 'void (){{( __attribute__\(\(
thiscall
\)\))?}}' drops 'const' qualifier}}
29
(pc->*pmv)(); // expected-error-re{{call to pointer to member function of type 'void (){{( __attribute__\(\(
thiscall
\)\))?}} volatile' drops 'const' qualifier}}
32
(pv->*pm)(); // expected-error-re{{call to pointer to member function of type 'void (){{( __attribute__\(\(
thiscall
\)\))?}}' drops 'volatile' qualifier}}
33
(pv->*pmc)(); // expected-error-re{{call to pointer to member function of type 'void (){{( __attribute__\(\(
thiscall
\)\))?}} const' drops 'volatile' qualifier}}
37
(pcv->*pm)(); // expected-error-re{{call to pointer to member function of type 'void (){{( __attribute__\(\(
thiscall
\)\))?}}' drops 'const volatile' qualifiers}}
38
(pcv->*pmc)(); // expected-error-re{{call to pointer to member function of type 'void (){{( __attribute__\(\(
thiscall
\)\))?}} const' drops 'volatile' qualifier}}
39
(pcv->*pmv)(); // expected-error-re{{call to pointer to member function of type 'void (){{( __attribute__\(\(
thiscall
\)\))?}} volatile' drops 'const' qualifier}}
47
(oc.*pm)(); // expected-error-re{{call to pointer to member function of type 'void (){{( __attribute__\(\(
thiscall
\)\))?}}' drops 'const' qualifier}}
49
(oc.*pmv)(); // expected-error-re{{call to pointer to member function of type 'void (){{( __attribute__\(\(
thiscall
\)\))?}} volatile' drops 'const' qualifier}}
52
(ov.*pm)(); // expected-error-re{{call to pointer to member function of type 'void (){{( __attribute__\(\(
thiscall
\)\))?}}' drops 'volatile' qualifier}
[
all
...]
p6-0x.cpp
25
(xvalue<X>().*l_pmf)(17); // expected-error-re{{pointer-to-member function type 'int (X::*)(int){{( __attribute__\(\(
thiscall
\)\))?}} &' can only be called on an lvalue}}
26
(prvalue<X>().*l_pmf)(17); // expected-error-re{{pointer-to-member function type 'int (X::*)(int){{( __attribute__\(\(
thiscall
\)\))?}} &' can only be called on an lvalue}}
30
(lvalue<X>().*r_pmf)(17); // expected-error-re{{pointer-to-member function type 'int (X::*)(int){{( __attribute__\(\(
thiscall
\)\))?}} &&' can only be called on an rvalue}}
33
(xp->*r_pmf)(17); // expected-error-re{{pointer-to-member function type 'int (X::*)(int){{( __attribute__\(\(
thiscall
\)\))?}} &&' can only be called on an rvalue}}
/external/clang/test/CodeGenCXX/
thiscall-struct-return.cpp
2
//
thiscall
calling convention must use the hidden parameter.
21
struct S __attribute__((
thiscall
)) Small() const {
26
struct M __attribute__((
thiscall
)) Medium() const {
/external/clang/test/Layout/
ms-x86-member-pointers.cpp
48
// CHECK-NEXT: 4 | int (struct S::*)(void) __attribute__((
thiscall
)) mp
55
// CHECK-NEXT: 8 | int (struct M::*)(void) __attribute__((
thiscall
)) mp
62
// CHECK-NEXT: 8 | int (struct V::*)(void) __attribute__((
thiscall
)) mp
69
// CHECK-NEXT: 8 | int (struct U::*)(void) __attribute__((
thiscall
)) mp
/external/clang/test/Sema/
callingconv-iamcu.c
16
void __attribute__((
thiscall
)) test4(int a, ...) { // expected-warning {{calling convention '
thiscall
' ignored for this target}}
callingconv.c
23
void __attribute__((
thiscall
)) test4(int a, ...) { // expected-error {{variadic function cannot use
thiscall
calling convention}}
decl-microsoft-call-conv.c
24
void __thiscall CrcGenerateTableNoProtoThiscall(); // expected-error{{function with no prototype cannot use the
thiscall
calling convention}}
/external/clang/test/CXX/expr/expr.unary/expr.unary.op/
p4.cpp
10
foo(&g<int>); // expected-error-re {{cannot form member pointer of type 'void (test0::A::*)(int){{( __attribute__\(\(
thiscall
\)\))?}}' without '&' and class name}}
/external/clang/test/CodeGen/
stdcall-fastcall.c
5
void __attribute__((
thiscall
)) f3(void);
16
void __attribute__((
thiscall
)) f6(void) {
25
void (__attribute__((
thiscall
)) *pf3)(void) = f3;
28
void (__attribute__((
thiscall
)) *pf6)(void) = f6;
/external/clang/test/CXX/dcl.dcl/dcl.spec/dcl.constexpr/
p1.cpp
76
T g() const; // expected-note-re {{candidate template ignored: could not match 'T (){{( __attribute__\(\(
thiscall
\)\))?}} const' against 'char (){{( __attribute__\(\(
thiscall
\)\))?}}'}}
/external/llvm/test/CodeGen/X86/
materialize.ll
135
; Materialize -1 (
thiscall
forces it into %ecx).
157
; Materialize -1 (
thiscall
forces it into %ecx).
tailcall-msvc-conventions.ll
97
; Tail calling from ccall to
thiscall
works.
115
; Tail call from
thiscall
to ccall works if no arguments need popping.
/external/clang/test/SemaTemplate/
explicit-instantiation.cpp
20
template <typename U> T f0(T, U) { return T(); } // expected-note-re {{candidate template ignored: could not match 'int (int, U){{( __attribute__\(\(
thiscall
\)\))?}}' against 'int (int){{( __attribute__\(\(
thiscall
\)\))?}} const'}} \
/external/llvm/tools/llvm-pdbdump/
FunctionDumper.cpp
62
if ((ClassParent && CC == PDB_CallingConv::
Thiscall
) ||
159
if ((ClassParent && CC != PDB_CallingConv::
Thiscall
) ||
/external/clang/test/CXX/temp/temp.arg/temp.arg.nontype/
p5.cpp
187
X0<&Y::h> x0c; // expected-error-re{{non-type template argument of type 'float (pointer_to_member_function::Y::*)(float){{( __attribute__\(\(
thiscall
\)\))?}}' cannot be converted to a value of type 'int (pointer_to_member_function::Y::*)(int){{( __attribute__\(\(
thiscall
\)\))?}}'}}
Completed in 658 milliseconds
1
2