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.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/llvm/lib/TableGen/TGLexer.h b/llvm/lib/TableGen/TGLexer.h
index 857ba09782e8..459ba0f4af64 100644
--- a/llvm/lib/TableGen/TGLexer.h
+++ b/llvm/lib/TableGen/TGLexer.h
@@ -56,6 +56,7 @@ namespace tgtok {
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,
// Boolean literals.
TrueVal, FalseVal,
@@ -337,7 +338,7 @@ private:
//
// The method returns true upon reaching the first non-whitespace symbol
// or EOF, CurPtr is set to point to this symbol. The method returns false,
- // if an error occured during skipping of a C-style comment.
+ // if an error occurred during skipping of a C-style comment.
bool prepSkipLineBegin();
// Skip any whitespaces or comments after a preprocessing directive.
@@ -345,7 +346,7 @@ private:
// or end of the file. If there is a multiline C-style comment
// after the preprocessing directive, the method skips
// the comment, so the final CurPtr may point to one of the next lines.
- // The method returns false, if an error occured during skipping
+ // The method returns false, if an error occurred during skipping
// C- or C++-style comment, or a non-whitespace symbol appears
// after the preprocessing directive.
//