@@ -82,7 +82,9 @@ struct AvailabilityData {
82
82
83
83
struct TypeTagForDatatypeData {
84
84
ParsedType MatchingCType;
85
+ LLVM_PREFERRED_TYPE (bool )
85
86
unsigned LayoutCompatible : 1 ;
87
+ LLVM_PREFERRED_TYPE (bool )
86
88
unsigned MustBeNull : 1 ;
87
89
};
88
90
struct PropertyData {
@@ -149,33 +151,41 @@ class ParsedAttr final
149
151
unsigned NumArgs : 16 ;
150
152
151
153
// / True if already diagnosed as invalid.
154
+ LLVM_PREFERRED_TYPE (bool )
152
155
mutable unsigned Invalid : 1 ;
153
156
154
157
// / True if this attribute was used as a type attribute.
158
+ LLVM_PREFERRED_TYPE (bool )
155
159
mutable unsigned UsedAsTypeAttr : 1 ;
156
160
157
161
// / True if this has the extra information associated with an
158
162
// / availability attribute.
163
+ LLVM_PREFERRED_TYPE (bool )
159
164
unsigned IsAvailability : 1 ;
160
165
161
166
// / True if this has extra information associated with a
162
167
// / type_tag_for_datatype attribute.
168
+ LLVM_PREFERRED_TYPE (bool )
163
169
unsigned IsTypeTagForDatatype : 1 ;
164
170
165
171
// / True if this has extra information associated with a
166
172
// / Microsoft __delcspec(property) attribute.
173
+ LLVM_PREFERRED_TYPE (bool )
167
174
unsigned IsProperty : 1 ;
168
175
169
176
// / True if this has a ParsedType
177
+ LLVM_PREFERRED_TYPE (bool )
170
178
unsigned HasParsedType : 1 ;
171
179
172
180
// / True if the processing cache is valid.
181
+ LLVM_PREFERRED_TYPE (bool )
173
182
mutable unsigned HasProcessingCache : 1 ;
174
183
175
184
// / A cached value.
176
185
mutable unsigned ProcessingCache : 8 ;
177
186
178
187
// / True if the attribute is specified using '#pragma clang attribute'.
188
+ LLVM_PREFERRED_TYPE (bool )
179
189
mutable unsigned IsPragmaClangAttribute : 1 ;
180
190
181
191
// / The location of the 'unavailable' keyword in an
0 commit comments