@@ -83,13 +83,16 @@ class TemplateParameterList final
8383
8484 // / Whether this template parameter list contains an unexpanded parameter
8585 // / pack.
86+ LLVM_PREFERRED_TYPE (bool )
8687 unsigned ContainsUnexpandedParameterPack : 1 ;
8788
8889 // / Whether this template parameter list has a requires clause.
90+ LLVM_PREFERRED_TYPE (bool )
8991 unsigned HasRequiresClause : 1 ;
9092
9193 // / Whether any of the template parameters has constrained-parameter
9294 // / constraint-expression.
95+ LLVM_PREFERRED_TYPE (bool )
9396 unsigned HasConstrainedParameters : 1 ;
9497
9598protected:
@@ -1833,7 +1836,7 @@ class ClassTemplateSpecializationDecl
18331836 SourceLocation PointOfInstantiation;
18341837
18351838 // / The kind of specialization this declaration refers to.
1836- // / Really a value of type TemplateSpecializationKind.
1839+ LLVM_PREFERRED_TYPE ( TemplateSpecializationKind)
18371840 unsigned SpecializationKind : 3 ;
18381841
18391842protected:
@@ -2638,13 +2641,14 @@ class VarTemplateSpecializationDecl : public VarDecl,
26382641 SourceLocation PointOfInstantiation;
26392642
26402643 // / The kind of specialization this declaration refers to.
2641- // / Really a value of type TemplateSpecializationKind.
2644+ LLVM_PREFERRED_TYPE ( TemplateSpecializationKind)
26422645 unsigned SpecializationKind : 3 ;
26432646
26442647 // / Whether this declaration is a complete definition of the
26452648 // / variable template specialization. We can't otherwise tell apart
26462649 // / an instantiated declaration from an instantiated definition with
26472650 // / no initializer.
2651+ LLVM_PREFERRED_TYPE (bool )
26482652 unsigned IsCompleteDefinition : 1 ;
26492653
26502654protected:
0 commit comments