llvm/lib/MC/MCParser
Benjamin Kramer ac67f04f79 Extend MCAsmLexer so that it can peek forward several tokens
This commit adds a virtual `peekTokens()` function to `MCAsmLexer`
which can peek forward an arbitrary number of tokens.

It also makes the `peekTok()` method call `peekTokens()` method, but
only requesting one token.

The idea is to better support targets which more more ambiguous
assembly syntaxes.

Patch by Dylan McKay!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@245221 91177308-0d34-0410-b5e6-96231b3b80d8
2015-08-17 14:35:25 +00:00
..
AsmLexer.cpp Extend MCAsmLexer so that it can peek forward several tokens 2015-08-17 14:35:25 +00:00
AsmParser.cpp Revert "Centralize the information about which object format we are using." 2015-08-14 15:48:41 +00:00
CMakeLists.txt Fix header path in CMake. NFC. 2015-06-19 20:49:02 +00:00
COFFAsmParser.cpp Revert r240137 (Fixed/added namespace ending comments using clang-tidy. NFC) 2015-06-23 09:49:53 +00:00
DarwinAsmParser.cpp MC: Clean up method names in MCContext. 2015-05-18 18:43:14 +00:00
ELFAsmParser.cpp Fix PR23872: Integrated assembler error message when using .type directive with @ in AArch32 assembly. 2015-07-01 08:58:49 +00:00
LLVMBuild.txt
Makefile
MCAsmLexer.cpp [mips] Print warning when using register names not available in N32/64 2014-10-03 15:37:37 +00:00
MCAsmParser.cpp Add const. NFC. 2014-11-11 05:11:47 +00:00
MCAsmParserExtension.cpp
MCTargetAsmParser.cpp [llvm-mc] Pushing plumbing through for --fatal-warnings flag. 2015-07-27 21:56:53 +00:00