Home | History | Annotate | Download | only in Parser

Lines Matching full:__declspec

47 struct __declspec(uuid(L"00000000-0000-0000-1234-000000000047")) uuid_attr_bad1 { };// expected-error {{'uuid' attribute requires a string}}
48 struct __declspec(uuid(3)) uuid_attr_bad2 { };// expected-error {{'uuid' attribute requires a string}}
49 struct __declspec(uuid("0000000-0000-0000-1234-0000500000047")) uuid_attr_bad3 { };// expected-error {{uuid attribute contains a malformed GUID}}
50 struct __declspec(uuid("0000000-0000-0000-Z234-000000000047")) uuid_attr_bad4 { };// expected-error {{uuid attribute contains a malformed GUID}}
51 struct __declspec(uuid("000000000000-0000-1234-000000000047")) uuid_attr_bad5 { };// expected-error {{uuid attribute contains a malformed GUID}}
55 struct __declspec(uuid("000000A0-0000-0000-C000-000000000046"))
59 struct __declspec(uuid("000000A0-0000-0000-C000-000000000049"))
113 struct __declspec(uuid("000000A0-0000-0000-C000-000000000049")) late_defined_uuid;
336 __declspec(property) int V0; // expected-error {{expected '(' after 'property'}}
337 __declspec(property()) int V1; // expected-error {{property does not specify a getter or a putter}}
338 __declspec(property(set)) int V2; // expected-error {{putter for property must be specified as 'put', not 'set'}} expected-error {{expected '=' after 'set'}}
339 __declspec(property(ptu)) int V3; // expected-error {{missing 'get=' or 'put='}}
340 __declspec(property(ptu=PutV)) int V4; // expected-error {{expected 'get' or 'put' in property declaration}}
341 __declspec(property(get)) int V5; // expected-error {{expected '=' after 'get'}}
342 __declspec(property(get&)) int V6; // expected-error {{expected '=' after 'get'}}
343 __declspec(property(get=)) int V7; // expected-error {{expected name of accessor method}}
344 __declspec(property(get=GetV)) int V8; // no-warning
345 __declspec(property(get=GetV=)) int V9; // expected-error {{expected ',' or ')' at end of property accessor list}}
346 __declspec(property(get=GetV,)) int V10; // expected-error {{expected 'get' or 'put' in property declaration}}
347 __declspec(property(get=GetV,put=SetV)) int V11; // no-warning
348 __declspec(property(get=GetV,put=SetV,get=GetV)) int V12; // expected-error {{property declaration specifies 'get' accessor twice}}