diff options
author | Quentin Colombet <qcolombet@apple.com> | 2016-03-08 02:00:43 +0000 |
---|---|---|
committer | Quentin Colombet <qcolombet@apple.com> | 2016-03-08 02:00:43 +0000 |
commit | 5e63e78ca9407d0592b5a5c7dbf1017a45d91bf5 (patch) | |
tree | 62c07004da81d9d598df773807083985826ffaa5 /llvm/lib/CodeGen/MIRParser | |
parent | dca821683cdf118e95c3f361ffb762f766cb01f1 (diff) | |
download | bcm5719-llvm-5e63e78ca9407d0592b5a5c7dbf1017a45d91bf5.tar.gz bcm5719-llvm-5e63e78ca9407d0592b5a5c7dbf1017a45d91bf5.zip |
[MIR] Change the token name for '<' and '>' to be consitent with the LLVM IR parser.
Thanks to Ahmed Bougacha for noticing!
llvm-svn: 262899
Diffstat (limited to 'llvm/lib/CodeGen/MIRParser')
-rw-r--r-- | llvm/lib/CodeGen/MIRParser/MILexer.cpp | 4 | ||||
-rw-r--r-- | llvm/lib/CodeGen/MIRParser/MILexer.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/llvm/lib/CodeGen/MIRParser/MILexer.cpp b/llvm/lib/CodeGen/MIRParser/MILexer.cpp index 84cf186ca37..16a27ad5d8e 100644 --- a/llvm/lib/CodeGen/MIRParser/MILexer.cpp +++ b/llvm/lib/CodeGen/MIRParser/MILexer.cpp @@ -498,9 +498,9 @@ static MIToken::TokenKind symbolToken(char C) { case '-': return MIToken::minus; case '<': - return MIToken::lt; + return MIToken::less; case '>': - return MIToken::gt; + return MIToken::greater; default: return MIToken::Error; } diff --git a/llvm/lib/CodeGen/MIRParser/MILexer.h b/llvm/lib/CodeGen/MIRParser/MILexer.h index cf7282f5989..ddf5e9f7c10 100644 --- a/llvm/lib/CodeGen/MIRParser/MILexer.h +++ b/llvm/lib/CodeGen/MIRParser/MILexer.h @@ -45,8 +45,8 @@ struct MIToken { rbrace, plus, minus, - lt, - gt, + less, + greater, // Keywords kw_implicit, |