Lines Matching refs:enum
77 // In C, enum constants have the type of the underlying integer type, not the
78 // enumeration they are part of. We pretend the constants have enum type if
80 enum CStyleEnum {
84 enum CStyleEnum getCSE();
85 typedef enum CStyleEnum (^cse_block_t)();
89 enum CStyleEnum value;
95 …a = ^{ // expected-error {{incompatible block pointer types assigning to 'cse_block_t' (aka 'enum …
110 …a = ^{ // expected-error {{incompatible block pointer types assigning to 'cse_block_t' (aka 'enum …
117 …a = ^{ // expected-error {{incompatible block pointer types assigning to 'cse_block_t' (aka 'enum …
124 …a = ^{ // expected-error {{incompatible block pointer types assigning to 'cse_block_t' (aka 'enum …
128 …return value; // expected-error {{return type 'enum CStyleEnum' must match previous return type 'i…
142 enum FixedTypeEnum : unsigned {
145 enum FixedTypeEnum getFTE();
146 typedef enum FixedTypeEnum (^fte_block_t)();
154 // Since we fixed the underlying type of the enum, this is considered a
186 enum {
190 enum : short {
194 typedef enum {
199 typedef enum : short {
212 // Since we fixed the underlying type of the enum, these are considered