Skip to content

Commit b1ee861

Browse files
committed
[FOLD] use unsigned for bitfields
1 parent bf5efab commit b1ee861

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

clang/include/clang/AST/DeclTemplate.h

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1585,15 +1585,18 @@ class TemplateTemplateParmDecl final
15851585
/// the 'typename' keyword.
15861586
///
15871587
/// If false, it was declared with the 'class' keyword.
1588-
bool Typename : 1;
1588+
LLVM_PREFERRED_TYPE(bool)
1589+
unsigned Typename : 1;
15891590

15901591
/// Whether this parameter is a parameter pack.
1591-
bool ParameterPack : 1;
1592+
LLVM_PREFERRED_TYPE(bool)
1593+
unsigned ParameterPack : 1;
15921594

15931595
/// Whether this template template parameter is an "expanded"
15941596
/// parameter pack, meaning that it is a pack expansion and we
15951597
/// already know the set of template parameters that expansion expands to.
1596-
bool ExpandedParameterPack : 1;
1598+
LLVM_PREFERRED_TYPE(bool)
1599+
unsigned ExpandedParameterPack : 1;
15971600

15981601
/// The number of parameters in an expanded parameter pack.
15991602
unsigned NumExpandedParams = 0;

0 commit comments

Comments
 (0)