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;
4040// / Attr - This represents one attribute.
4141class Attr : public AttributeCommonInfo {
4242private:
43+ LLVM_PREFERRED_TYPE (attr::Kind)
4344 unsigned AttrKind : 16 ;
4445
4546protected:
4647 // / An index into the spelling list of an
4748 // / attribute defined in Attr.td file.
49+ LLVM_PREFERRED_TYPE (bool )
4850 unsigned Inherited : 1 ;
51+ LLVM_PREFERRED_TYPE (bool )
4952 unsigned IsPackExpansion : 1 ;
53+ LLVM_PREFERRED_TYPE (bool )
5054 unsigned Implicit : 1 ;
5155 // FIXME: These are properties of the attribute kind, not state for this
5256 // instance of the attribute.
57+ LLVM_PREFERRED_TYPE (bool )
5358 unsigned IsLateParsed : 1 ;
59+ LLVM_PREFERRED_TYPE (bool )
5460 unsigned InheritEvenIfAlreadyPresent : 1 ;
5561
5662 void *operator new (size_t bytes) noexcept {
@@ -243,7 +249,9 @@ class ParameterABIAttr : public InheritableParamAttr {
243249class ParamIdx {
244250 // Idx is exposed only via accessors that specify specific encodings.
245251 unsigned Idx : 30 ;
252+ LLVM_PREFERRED_TYPE (bool )
246253 unsigned HasThis : 1 ;
254+ LLVM_PREFERRED_TYPE (bool )
247255 unsigned IsValid : 1 ;
248256
249257 void assertComparable (const ParamIdx &I) const {
You can’t perform that action at this time.
0 commit comments