@@ -50,52 +50,65 @@ struct CommandInfo {
50
50
unsigned NumArgs : 4 ;
51
51
52
52
// / True if this command is a inline command (of any kind).
53
+ LLVM_PREFERRED_TYPE (bool )
53
54
unsigned IsInlineCommand : 1 ;
54
55
55
56
// / True if this command is a block command (of any kind).
57
+ LLVM_PREFERRED_TYPE (bool )
56
58
unsigned IsBlockCommand : 1 ;
57
59
58
60
// / True if this command is introducing a brief documentation
59
61
// / paragraph (\or an alias).
62
+ LLVM_PREFERRED_TYPE (bool )
60
63
unsigned IsBriefCommand : 1 ;
61
64
62
65
// / True if this command is \\returns or an alias.
66
+ LLVM_PREFERRED_TYPE (bool )
63
67
unsigned IsReturnsCommand : 1 ;
64
68
65
69
// / True if this command is introducing documentation for a function
66
70
// / parameter (\\param or an alias).
71
+ LLVM_PREFERRED_TYPE (bool )
67
72
unsigned IsParamCommand : 1 ;
68
73
69
74
// / True if this command is introducing documentation for
70
75
// / a template parameter (\\tparam or an alias).
76
+ LLVM_PREFERRED_TYPE (bool )
71
77
unsigned IsTParamCommand : 1 ;
72
78
73
79
// / True if this command is \\throws or an alias.
80
+ LLVM_PREFERRED_TYPE (bool )
74
81
unsigned IsThrowsCommand : 1 ;
75
82
76
83
// / True if this command is \\deprecated or an alias.
84
+ LLVM_PREFERRED_TYPE (bool )
77
85
unsigned IsDeprecatedCommand : 1 ;
78
86
79
87
// / True if this is a \\headerfile-like command.
88
+ LLVM_PREFERRED_TYPE (bool )
80
89
unsigned IsHeaderfileCommand : 1 ;
81
90
82
91
// / True if we don't want to warn about this command being passed an empty
83
92
// / paragraph. Meaningful only for block commands.
93
+ LLVM_PREFERRED_TYPE (bool )
84
94
unsigned IsEmptyParagraphAllowed : 1 ;
85
95
86
96
// / True if this command is a verbatim-like block command.
87
97
// /
88
98
// / A verbatim-like block command eats every character (except line starting
89
99
// / decorations) until matching end command is seen or comment end is hit.
100
+ LLVM_PREFERRED_TYPE (bool )
90
101
unsigned IsVerbatimBlockCommand : 1 ;
91
102
92
103
// / True if this command is an end command for a verbatim-like block.
104
+ LLVM_PREFERRED_TYPE (bool )
93
105
unsigned IsVerbatimBlockEndCommand : 1 ;
94
106
95
107
// / True if this command is a verbatim line command.
96
108
// /
97
109
// / A verbatim-like line command eats everything until a newline is seen or
98
110
// / comment end is hit.
111
+ LLVM_PREFERRED_TYPE (bool )
99
112
unsigned IsVerbatimLineCommand : 1 ;
100
113
101
114
// / True if this command contains a declaration for the entity being
@@ -105,20 +118,25 @@ struct CommandInfo {
105
118
// / \code
106
119
// / \fn void f(int a);
107
120
// / \endcode
121
+ LLVM_PREFERRED_TYPE (bool )
108
122
unsigned IsDeclarationCommand : 1 ;
109
123
110
124
// / True if verbatim-like line command is a function declaration.
125
+ LLVM_PREFERRED_TYPE (bool )
111
126
unsigned IsFunctionDeclarationCommand : 1 ;
112
127
113
128
// / True if block command is further describing a container API; such
114
129
// / as \@coclass, \@classdesign, etc.
130
+ LLVM_PREFERRED_TYPE (bool )
115
131
unsigned IsRecordLikeDetailCommand : 1 ;
116
132
117
133
// / True if block command is a container API; such as \@interface.
134
+ LLVM_PREFERRED_TYPE (bool )
118
135
unsigned IsRecordLikeDeclarationCommand : 1 ;
119
136
120
137
// / True if this command is unknown. This \c CommandInfo object was
121
138
// / created during parsing.
139
+ LLVM_PREFERRED_TYPE (bool )
122
140
unsigned IsUnknownCommand : 1 ;
123
141
};
124
142
0 commit comments