File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 21
21
#include " Utility.h"
22
22
#include < algorithm>
23
23
#include < cctype>
24
+ #include < cstdint>
24
25
#include < cstdio>
25
26
#include < cstdlib>
26
27
#include < cstring>
@@ -164,18 +165,18 @@ class NodeArray;
164
165
// traversed by the printLeft/Right functions to produce a demangled string.
165
166
class Node {
166
167
public:
167
- enum Kind : unsigned char {
168
+ enum Kind : uint8_t {
168
169
#define NODE (NodeKind ) K##NodeKind,
169
170
#include " ItaniumNodes.def"
170
171
};
171
172
172
173
// / Three-way bool to track a cached value. Unknown is possible if this node
173
174
// / has an unexpanded parameter pack below it that may affect this cache.
174
- enum class Cache : unsigned char { Yes, No, Unknown, };
175
+ enum class Cache : uint8_t { Yes, No, Unknown, };
175
176
176
177
// / Operator precedence for expression nodes. Used to determine required
177
178
// / parens in expression emission.
178
- enum class Prec {
179
+ enum class Prec : uint8_t {
179
180
Primary,
180
181
Postfix,
181
182
Unary,
You can’t perform that action at this time.
0 commit comments