1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 12:12:47 +01:00
llvm-mirror/include/llvm/MC
Fangrui Song 1846161749 [MC] Add parseEOL() overload and migrate some parseToken(AsmToken::EndOfStatement) to parseEOL()
For many directives, the following diagnostics

* `error: unexpected token`
* `error: unexpected token in '.abort' directive"`

are replaced with `error: expected newline`.

`unexpected token` may make the user think a different token is needed.
`expected newline` is clearer about the expected token.

For `in '...' directive`, the directive name is not useful because the next line
replicates the error line which includes the directive.
2021-03-06 17:45:23 -08:00
..
MCDisassembler
MCParser [MC] Add parseEOL() overload and migrate some parseToken(AsmToken::EndOfStatement) to parseEOL() 2021-03-06 17:45:23 -08:00
ConstantPools.h
LaneBitmask.h
MachineLocation.h
MCAsmBackend.h
MCAsmInfo.h [XCOFF][DebugInfo] support DWARF for XCOFF for assembly output. 2021-03-04 21:07:52 -05:00
MCAsmInfoCOFF.h
MCAsmInfoDarwin.h
MCAsmInfoELF.h
MCAsmInfoWasm.h
MCAsmInfoXCOFF.h
MCAsmLayout.h
MCAsmMacro.h [ms] [llvm-ml] Implement the statement expansion operator 2020-11-30 14:33:24 -05:00
MCAssembler.h [MC] Support .symver *, *, remove 2021-03-06 15:23:02 -08:00
MCCodeEmitter.h
MCCodeView.h [MC] Delete unused declarations 2020-12-06 15:36:39 -08:00
MCContext.h [XCOFF][DebugInfo] support DWARF for XCOFF for assembly output. 2021-03-04 21:07:52 -05:00
MCDirectives.h
MCDwarf.h [XCOFF][DebugInfo] support DWARF for XCOFF for assembly output. 2021-03-04 21:07:52 -05:00
MCELFObjectWriter.h
MCELFStreamer.h [MC] Support .symver *, *, remove 2021-03-06 15:23:02 -08:00
MCExpr.h [AVR] Fix global references to function symbols 2021-02-10 00:40:49 +13:00
MCFixedLenDisassembler.h
MCFixup.h
MCFixupKindInfo.h
MCFragment.h [CSSPGO] Pseudo probe encoding and emission. 2020-12-10 17:29:28 -08:00
MCInst.h [MC] Add isFPImm after D96091 2021-02-04 20:51:02 -08:00
MCInstBuilder.h [WebAssembly] Support single-floating-point immediate value 2021-02-04 18:05:06 -08:00
MCInstPrinter.h [AsmWriter] Factor out mnemonic generation to accessible getMnemonic. 2020-11-17 09:47:38 +00:00
MCInstrAnalysis.h
MCInstrDesc.h [MCInstrDesc] [TableGen] Reduce size of MCOperandInfo instances. 2020-12-22 09:44:30 -05:00
MCInstrInfo.h
MCInstrItineraries.h
MCLabel.h
MCLinkerOptimizationHint.h
MCMachObjectWriter.h [MC] Delete unused declarations 2020-12-06 15:36:39 -08:00
MCObjectFileInfo.h Add ehcont section support 2021-02-15 14:27:12 +08:00
MCObjectStreamer.h [XCOFF][DebugInfo] support DWARF for XCOFF for assembly output. 2021-03-04 21:07:52 -05:00
MCObjectWriter.h
MCPseudoProbe.h [CSSPGO] Introducing dangling pseudo probes. 2021-03-03 22:44:41 -08:00
MCRegister.h [llvm] Fix header guards (NFC) 2021-02-05 21:02:06 -08:00
MCRegisterInfo.h
MCSchedule.h [MCA] Add support for in-order CPUs 2021-03-04 14:08:19 +03:00
MCSection.h
MCSectionCOFF.h
MCSectionELF.h [MC][ELF] Support for zero flag section groups 2021-02-16 14:23:40 -08:00
MCSectionMachO.h Support #pragma clang section directives on MachO targets 2021-02-25 09:30:10 -08:00
MCSectionWasm.h
MCSectionXCOFF.h [XCOFF][DebugInfo] support DWARF for XCOFF for assembly output. 2021-03-04 21:07:52 -05:00
MCStreamer.h [MC] Support .symver *, *, remove 2021-03-06 15:23:02 -08:00
MCSubtargetInfo.h [llvm] Use llvm::lower_bound and llvm::upper_bound (NFC) 2021-01-05 21:15:59 -08:00
MCSymbol.h [MC][ELF] Remove unneeded MCSymbol::setExternal calls 2020-12-20 21:26:36 -08:00
MCSymbolCOFF.h
MCSymbolELF.h
MCSymbolMachO.h
MCSymbolWasm.h [WebAssembly] call_indirect issues table number relocs 2021-03-01 16:49:00 +01:00
MCSymbolXCOFF.h
MCTargetOptions.h [XCOFF][AIX] Generate LSDA data and compact unwind section on AIX 2020-12-02 18:42:44 +00:00
MCTargetOptionsCommandFlags.h
MCValue.h
MCWasmObjectWriter.h
MCWasmStreamer.h [WebAssembly][MC] Remove useless overrides in MCWasmStreamer 2020-11-17 07:09:49 -08:00
MCWin64EH.h Reapply "[CodeGen] [WinException] Only produce handler data at the end of the function if needed" 2020-11-23 23:17:03 +02:00
MCWinCOFFObjectWriter.h
MCWinCOFFStreamer.h [MC] Make MCStreamer aware of AsmParser's StartTokLoc 2020-11-02 12:32:07 -08:00
MCWinEH.h Reapply "[CodeGen] [WinException] Only produce handler data at the end of the function if needed" 2020-11-23 23:17:03 +02:00
MCXCOFFObjectWriter.h
MCXCOFFStreamer.h [MC] Make MCStreamer aware of AsmParser's StartTokLoc 2020-11-02 12:32:07 -08:00
SectionKind.h [AIX][TLS] Generate TLS variables in assembly files 2021-03-02 18:22:48 -06:00
StringTableBuilder.h
SubtargetFeature.h [ARM][AArch64] Adding Neoverse V1 CPU support 2020-11-09 13:15:40 +00:00