File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -40,17 +40,23 @@ class OMPTraitInfo;
40
40
// / Attr - This represents one attribute.
41
41
class Attr : public AttributeCommonInfo {
42
42
private:
43
+ LLVM_PREFERRED_TYPE (attr::Kind)
43
44
unsigned AttrKind : 16 ;
44
45
45
46
protected:
46
47
// / An index into the spelling list of an
47
48
// / attribute defined in Attr.td file.
49
+ LLVM_PREFERRED_TYPE (bool )
48
50
unsigned Inherited : 1 ;
51
+ LLVM_PREFERRED_TYPE (bool )
49
52
unsigned IsPackExpansion : 1 ;
53
+ LLVM_PREFERRED_TYPE (bool )
50
54
unsigned Implicit : 1 ;
51
55
// FIXME: These are properties of the attribute kind, not state for this
52
56
// instance of the attribute.
57
+ LLVM_PREFERRED_TYPE (bool )
53
58
unsigned IsLateParsed : 1 ;
59
+ LLVM_PREFERRED_TYPE (bool )
54
60
unsigned InheritEvenIfAlreadyPresent : 1 ;
55
61
56
62
void *operator new (size_t bytes) noexcept {
@@ -243,7 +249,9 @@ class ParameterABIAttr : public InheritableParamAttr {
243
249
class ParamIdx {
244
250
// Idx is exposed only via accessors that specify specific encodings.
245
251
unsigned Idx : 30 ;
252
+ LLVM_PREFERRED_TYPE (bool )
246
253
unsigned HasThis : 1 ;
254
+ LLVM_PREFERRED_TYPE (bool )
247
255
unsigned IsValid : 1 ;
248
256
249
257
void assertComparable (const ParamIdx &I) const {
You can’t perform that action at this time.
0 commit comments