[PATCH] MIR Lexer: adopt the 'maybeLex...' pattern.
Alex Lorenz
arphaman at gmail.com
Mon Jun 29 15:02:57 PDT 2015
Hi silvas,
This patch refactors the MI lexer so that the lexing functions use the 'maybeLex...' pattern, where the lexing functions determine if they can lex the current token by themselves.
REPOSITORY
rL LLVM
http://reviews.llvm.org/D10817
Files:
lib/CodeGen/MIRParser/MILexer.cpp
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D10817.28716.patch
Type: text/x-patch
Size: 3875 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150629/cad766cb/attachment.bin>
More information about the llvm-commits
mailing list