Allow peeking forward several tokens with MCAsmLexer

Dylan McKay via llvm-commits llvm-commits at lists.llvm.org
Sat Aug 15 07:23:22 PDT 2015


This patch extends the assembly lexer to add a new method - peekTokens()
which can be used to peek forward one or more tokens.

This gives backend authors a little bit more power if they need it.
‚Äč
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150816/3f2f01a9/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Extend-MCAsmLexer-so-that-it-can-peek-forward-severa.patch
Type: text/x-patch
Size: 3399 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150816/3f2f01a9/attachment.bin>


More information about the llvm-commits mailing list