Allow peeking forward several tokens with MCAsmLexer

Dylan McKay via llvm-commits llvm-commits at
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: <>
-------------- 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: <>

More information about the llvm-commits mailing list