aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/TableGen/TGLexer.h
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/TableGen/TGLexer.h')
-rw-r--r--llvm/lib/TableGen/TGLexer.h34
1 files changed, 17 insertions, 17 deletions
diff --git a/llvm/lib/TableGen/TGLexer.h b/llvm/lib/TableGen/TGLexer.h
index 284f1ba..93e28a4 100644
--- a/llvm/lib/TableGen/TGLexer.h
+++ b/llvm/lib/TableGen/TGLexer.h
@@ -29,11 +29,11 @@ class SourceMgr;
class Twine;
namespace tgtok {
- enum TokKind {
- // Markers
+enum TokKind {
+ // Markers
Eof, Error,
- // Tokens with no info.
+ // Tokens with no info.
minus, plus, // - +
l_square, r_square, // [ ]
l_brace, r_brace, // { }
@@ -45,36 +45,36 @@ namespace tgtok {
paste, // #
dotdotdot, // ...
- // Reserved keywords. ('ElseKW' is named to distinguish it from the
- // existing 'Else' that means the preprocessor #else.)
+ // Reserved keywords. ('ElseKW' is named to distinguish it from the
+ // existing 'Else' that means the preprocessor #else.)
Assert, Bit, Bits, Class, Code, Dag, Def, Defm, Defset, Defvar, ElseKW,
FalseKW, Field, Foreach, If, In, Include, Int, Let, List, MultiClass,
String, Then, TrueKW,
- // Bang operators.
+ // Bang operators.
XConcat, XADD, XSUB, XMUL, XDIV, XNOT, XLOG2, XAND, XOR, XXOR, XSRA, XSRL,
XSHL, XListConcat, XListSplat, XStrConcat, XInterleave, XSubstr, XFind,
XCast, XSubst, XForEach, XFilter, XFoldl, XHead, XTail, XSize, XEmpty, XIf,
XCond, XEq, XIsA, XDag, XNe, XLe, XLt, XGe, XGt, XSetDagOp, XGetDagOp,
- XExists, XListRemove,
+ XExists, XListRemove, XToLower, XToUpper,
- // Boolean literals.
+ // Boolean literals.
TrueVal, FalseVal,
- // Integer value.
- IntVal,
+ // Integer value.
+ IntVal,
- // Binary constant. Note that these are sized according to the number of
- // bits given.
- BinaryIntVal,
+ // Binary constant. Note that these are sized according to the number of
+ // bits given.
+ BinaryIntVal,
- // String valued tokens.
+ // String valued tokens.
Id, StrVal, VarName, CodeFragment,
- // Preprocessing tokens for internal usage by the lexer.
- // They are never returned as a result of Lex().
+ // Preprocessing tokens for internal usage by the lexer.
+ // They are never returned as a result of Lex().
Ifdef, Ifndef, Else, Endif, Define
- };
+};
}
/// TGLexer - TableGen Lexer class.