Remove unused tokens in the ll lexer.

Patch by Robin Eklind!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@227442 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Sean Silva 2015-01-29 14:45:09 +00:00
parent 77343a8fba
commit b5e97c47cd
2 changed files with 0 additions and 3 deletions

View File

@ -241,7 +241,6 @@ lltok::Kind LLLexer::LexToken() {
case ')': return lltok::rparen; case ')': return lltok::rparen;
case ',': return lltok::comma; case ',': return lltok::comma;
case '*': return lltok::star; case '*': return lltok::star;
case '\\': return lltok::backslash;
} }
} }

View File

@ -28,9 +28,7 @@ namespace lltok {
lbrace, rbrace, // { } lbrace, rbrace, // { }
less, greater, // < > less, greater, // < >
lparen, rparen, // ( ) lparen, rparen, // ( )
backslash, // \ (not /)
exclaim, // ! exclaim, // !
hash, // #
kw_x, kw_x,
kw_true, kw_false, kw_true, kw_false,