llvm-project/llvm/lib/MC/MCParser
Anirudh Prasad 6ddd8c28b7 [AsmParser][SystemZ][z/OS] Add support to AsmLexer to accept HLASM style integers
- Add support for HLASM style integers. These are the decimal integers [0-9].
- HLASM does not support the additional prefixed integers like, `0b`, `0x`, octal integers and Masm style integers.
- To achieve this, a field `LexHLASMStyleIntegers` (similar to the `LexMasmStyleIntegers` field) is introduced in `MCAsmLexer.h` as well as a corresponding setter.

Note: This field could also go into MCAsmInfo.h. I used the previous precedent set by the `LexMasmIntegers` field.

Depends on https://reviews.llvm.org/D99286

Reviewed By: epastor

Differential Revision: https://reviews.llvm.org/D99374
2021-04-13 15:29:37 -04:00
..
AsmLexer.cpp [AsmParser][SystemZ][z/OS] Add support to AsmLexer to accept HLASM style integers 2021-04-13 15:29:37 -04:00
AsmParser.cpp AMDGPU: Add target id and code object v4 support 2021-03-24 11:54:05 -04:00
CMakeLists.txt llvmbuildectomy - replace llvm-build by plain cmake 2020-11-13 10:35:24 +01:00
COFFAsmParser.cpp [MC] Delete unused declarations 2020-12-06 15:36:39 -08:00
COFFMasmParser.cpp [llvm] Don't include StringSwitch.h where unnecessary (NFC) 2021-01-21 19:59:48 -08:00
DarwinAsmParser.cpp [SystemZ][z/OS][Windows] Add new OF_TextWithCRLF flag and use this flag instead of OF_Text 2021-04-06 07:23:31 -04:00
ELFAsmParser.cpp [LTO][MC] Discard non-prevailing defined symbols in module-level assembly 2021-03-18 15:33:42 -07:00
MCAsmLexer.cpp
MCAsmParser.cpp [MC] Add parseEOL() overload and migrate some parseToken(AsmToken::EndOfStatement) to parseEOL() 2021-03-06 17:45:23 -08:00
MCAsmParserExtension.cpp [COFF] Add cg_profile directive and .llvm.call-graph-profile section 2020-07-10 17:07:30 -07:00
MCTargetAsmParser.cpp
MasmParser.cpp [ms] [llvm-ml] Accept /WX to signal that warnings should be fatal. 2021-04-02 15:13:20 -04:00
WasmAsmParser.cpp [WebAssembly] Use data sections by default 2021-02-09 11:03:06 -08:00