File tree Expand file tree Collapse file tree 1 file changed +10
-5
lines changed Expand file tree Collapse file tree 1 file changed +10
-5
lines changed Original file line number Diff line number Diff line change @@ -175,17 +175,22 @@ class RawComment {
175
175
mutable StringRef RawText;
176
176
mutable const char *BriefText = nullptr ;
177
177
178
- mutable bool RawTextValid : 1 ; // /< True if RawText is valid
179
- mutable bool BriefTextValid : 1 ; // /< True if BriefText is valid
178
+ LLVM_PREFERRED_TYPE (bool )
179
+ mutable unsigned RawTextValid : 1 ;
180
+ LLVM_PREFERRED_TYPE (bool )
181
+ mutable unsigned BriefTextValid : 1 ;
180
182
181
183
LLVM_PREFERRED_TYPE (CommentKind)
182
184
unsigned Kind : 3 ;
183
185
184
186
// / True if comment is attached to a declaration in ASTContext.
185
- bool IsAttached : 1 ;
187
+ LLVM_PREFERRED_TYPE (bool )
188
+ unsigned IsAttached : 1 ;
186
189
187
- bool IsTrailingComment : 1 ;
188
- bool IsAlmostTrailingComment : 1 ;
190
+ LLVM_PREFERRED_TYPE (bool )
191
+ unsigned IsTrailingComment : 1 ;
192
+ LLVM_PREFERRED_TYPE (bool )
193
+ unsigned IsAlmostTrailingComment : 1 ;
189
194
190
195
// / Constructor for AST deserialization.
191
196
RawComment (SourceRange SR, CommentKind K, bool IsTrailingComment,
You can’t perform that action at this time.
0 commit comments