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 2121#include " Utility.h"
2222#include < algorithm>
2323#include < cctype>
24+ #include < cstdint>
2425#include < cstdio>
2526#include < cstdlib>
2627#include < cstring>
@@ -164,18 +165,18 @@ class NodeArray;
164165// traversed by the printLeft/Right functions to produce a demangled string.
165166class Node {
166167public:
167- enum Kind : unsigned char {
168+ enum Kind : uint8_t {
168169#define NODE (NodeKind ) K##NodeKind,
169170#include " ItaniumNodes.def"
170171 };
171172
172173 // / Three-way bool to track a cached value. Unknown is possible if this node
173174 // / 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, };
175176
176177 // / Operator precedence for expression nodes. Used to determine required
177178 // / parens in expression emission.
178- enum class Prec {
179+ enum class Prec : uint8_t {
179180 Primary,
180181 Postfix,
181182 Unary,
You can’t perform that action at this time.
0 commit comments