@@ -83,13 +83,16 @@ class TemplateParameterList final
83
83
84
84
// / Whether this template parameter list contains an unexpanded parameter
85
85
// / pack.
86
+ LLVM_PREFERRED_TYPE (bool )
86
87
unsigned ContainsUnexpandedParameterPack : 1 ;
87
88
88
89
// / Whether this template parameter list has a requires clause.
90
+ LLVM_PREFERRED_TYPE (bool )
89
91
unsigned HasRequiresClause : 1 ;
90
92
91
93
// / Whether any of the template parameters has constrained-parameter
92
94
// / constraint-expression.
95
+ LLVM_PREFERRED_TYPE (bool )
93
96
unsigned HasConstrainedParameters : 1 ;
94
97
95
98
protected:
@@ -1833,7 +1836,7 @@ class ClassTemplateSpecializationDecl
1833
1836
SourceLocation PointOfInstantiation;
1834
1837
1835
1838
// / The kind of specialization this declaration refers to.
1836
- // / Really a value of type TemplateSpecializationKind.
1839
+ LLVM_PREFERRED_TYPE ( TemplateSpecializationKind)
1837
1840
unsigned SpecializationKind : 3 ;
1838
1841
1839
1842
protected:
@@ -2638,13 +2641,14 @@ class VarTemplateSpecializationDecl : public VarDecl,
2638
2641
SourceLocation PointOfInstantiation;
2639
2642
2640
2643
// / The kind of specialization this declaration refers to.
2641
- // / Really a value of type TemplateSpecializationKind.
2644
+ LLVM_PREFERRED_TYPE ( TemplateSpecializationKind)
2642
2645
unsigned SpecializationKind : 3 ;
2643
2646
2644
2647
// / Whether this declaration is a complete definition of the
2645
2648
// / variable template specialization. We can't otherwise tell apart
2646
2649
// / an instantiated declaration from an instantiated definition with
2647
2650
// / no initializer.
2651
+ LLVM_PREFERRED_TYPE (bool )
2648
2652
unsigned IsCompleteDefinition : 1 ;
2649
2653
2650
2654
protected:
0 commit comments