Lines Matching full:uuid
12 [uuid( "000000A0-0000-0000-C000-000000000049" )] struct struct_with_uuid;
14 // Optionally, the uuid can be surrounded by one set of braces.
15 [uuid(
20 // expected-error@+1 {{uuid attribute contains a malformed GUID}}
21 [uuid(u8"000000A0-0000-0000-C000-000000000049")] struct struct_with_uuid_u8;
22 // expected-error@+1 {{uuid attribute contains a malformed GUID}}
23 [uuid(L"000000A0-0000-0000-C000-000000000049")] struct struct_with_uuid_L;
26 // allow it for __declspec(uuid()) (u8 literals etc are not allowed there
30 [uuid(R"(000000A0-0000-0000-C000-000000000049)")] struct struct_with_uuid_raw;
32 // Likewise, cl supports UCNs in declspec uuid, but not in []-style uuid.
34 [uuid("000000A0-0000\u002D0000-C000-000000000049")] struct struct_with_uuid_ucn;
38 [uuid("000000A0-00" "00-0000-C000-000000000049")] struct struct_with_uuid_split;
41 [uuid("{000000A0-0000-0000-C000-000000000049}", "1")] struct S {};
43 [uuid{"000000A0-0000-0000-C000-000000000049"}] struct T {};
45 [uuid("000000A0-0000-0000-C000-000000000049"}] struct U {};
53 [ uuid (000000A0-0000-0000-C000-000000000049) ] struct struct_with_uuid2;
54 [uuid({000000A0-0000-0000-C000-000000000049})] struct struct_with_uuid2_brace;
57 // expected-error@+1 {{uuid attribute contains a malformed GUID}}
58 [uuid( 000000A0-0000-0000-C000-000000000049)] struct struct_with_uuid2;
59 // expected-error@+1 {{uuid attribute contains a malformed GUID}}
60 [uuid(000000A0-0000 -0000-C000-000000000049)] struct struct_with_uuid2;
61 // expected-error@+2 {{uuid attribute contains a malformed GUID}}
62 [uuid(000000A0-0000
64 // expected-error@+1 {{uuid attribute contains a malformed GUID}}
65 [uuid(000000A0-0000/**/-0000-C000-000000000049)] struct struct_with_uuid2;
66 // expected-error@+1 {{uuid attribute contains a malformed GUID}}
67 [uuid(000000A0-0000-0000-C000-000000000049 )] struct struct_with_uuid2;
68 // expected-error@+2 {{uuid attribute contains a malformed GUID}}
69 [uuid(000000A0-0000-0000-C000-000000000049
72 // expected-error@+1 {{uuid attribute contains a malformed GUID}}
73 [uuid({000000A0-0000-""0000-C000-000000000049})] struct struct_with_uuid2;
76 [uuid(000000A0-0000-0000-\
78 #define UUID 000000A0-0000-0000-C000-000000000049
80 [uuid(UUID)] struct struct_with_uuid2_macro;
81 [uuid(UUID_PART-0000-C000-000000000049)] struct struct_with_uuid2_macro_part;
86 [uuid(??<000000A0-0000-0000-C000-000000000049??>)]
91 [uuid(000000A0-0000\u002D0000-C000-000000000049)] struct struct_with_uuid2_ucn;
94 // expected-error@+1 {{uuid attribute contains a malformed GUID}}
95 [uuid(0Z0000A0-0000-0000-C000-000000000049)] struct struct_with_uuid2;
98 // [] uuids and inner classes are weird in cl.exe: It warns that uuid on
100 // that the inner type has no assigned uuid. Things work fine if __declspec()
102 [uuid(10000000-0000-0000-0000-000000000000)] class InnerClass1;
103 [uuid(10000000-0000-0000-0000-000000000000)] class InnerClass2 {} ic;
104 [uuid(10000000-0000-0000-0000-000000000000)] static class InnerClass3 {} sic;
112 [uuid(10000000-0000-0000-0000-000000000000)] class OuterClass::InnerClass {};
136 // expected-warning@+1 {{'uuid' attribute only applies to structs, unions, classes, and enums}}
137 [uuid("000000A0-0000-0000-C000-000000000049")] void f();
150 [uuid("a5a7bd07-3b14-49bc-9399-de066d4d72cd")] struct Local {
157 int uuid = 42;
158 [uuid]() { useit(uuid); }();
161 [uuid(00000000-0000-0000-0000-000000000000)] { return uuid; }();
162 [uuid("00000000-0000-0000-0000-000000000000")](int n) { return uuid[n]; }(3);
168 int message_send(id uuid) {
169 [uuid retain];
171 NSObject* uuid(const char*); function
173 [uuid("a5a7bd07-3b14-49bc-9399-de066d4d72cd") retain];