llvm-6502/lib/MC
Eli Bendersky bf706b3f99 Make ParseIdentifier a public method instead of private.
The MCAsmParser interface defines ParseIdentifier is public. There's no reason
whatsoever for AsmParser (which implements the MCAsmParser interface) to hide
this method.

This is all part of a bigger scheme. Several asm parsing "extensions" use the
main parser properly through the MCAsmParser interface. However,
GenericAsmParser has much more exclusive access and uses implementation details
from the concrete implementation - AsmParser, in which it is also declared as
a friend. This makes for overly coupled code, and even makes it hard to split
GenericAsmParser into a separate file. There's no reason why GenericAsmParser
shouldn't be able to access AsmParser through an abstract interface, as long
as it's actually registered as an extension.




git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@172276 91177308-0d34-0410-b5e6-96231b3b80d8
2013-01-12 00:05:00 +00:00
..
MCDisassembler
MCParser Make ParseIdentifier a public method instead of private. 2013-01-12 00:05:00 +00:00
CMakeLists.txt Remove MCTargetAsmLexer and its derived classes now that edis, 2012-12-20 14:43:30 +00:00
ELFObjectWriter.cpp
LLVMBuild.txt
MachObjectWriter.cpp
Makefile
MCAsmBackend.cpp
MCAsmInfo.cpp
MCAsmInfoCOFF.cpp
MCAsmInfoDarwin.cpp
MCAsmStreamer.cpp Add the align_to_end option to .bundle_lock in the MC implementation of aligned 2013-01-07 21:51:08 +00:00
MCAssembler.cpp Simplify the code a bit: MCRelaxableFragment doesn't need a separate getInstSize 2013-01-08 22:05:10 +00:00
MCAtom.cpp
MCCodeEmitter.cpp
MCCodeGenInfo.cpp
MCContext.cpp
MCDisassembler.cpp
MCDwarf.cpp These functions have default arguments of 0 for the last arg. Use 2013-01-09 01:57:54 +00:00
MCELF.cpp
MCELFObjectTargetWriter.cpp
MCELFStreamer.cpp Last in the series of removing unnecessary '0' arguments for 2013-01-09 03:52:05 +00:00
MCExpr.cpp
MCInst.cpp
MCInstPrinter.cpp
MCInstrAnalysis.cpp
MCLabel.cpp
MCMachObjectTargetWriter.cpp
MCMachOStreamer.cpp
MCModule.cpp
MCNullStreamer.cpp Add the align_to_end option to .bundle_lock in the MC implementation of aligned 2013-01-07 21:51:08 +00:00
MCObjectFileInfo.cpp PowerPC: EH adjustments 2013-01-09 17:08:15 +00:00
MCObjectStreamer.cpp These functions have default arguments of 0 for the last arg. Use 2013-01-09 01:35:34 +00:00
MCObjectWriter.cpp
MCPureStreamer.cpp Renamed MCInstFragment to MCRelaxableFragment and added some comments. 2013-01-08 00:22:56 +00:00
MCRegisterInfo.cpp
MCSection.cpp
MCSectionCOFF.cpp
MCSectionELF.cpp
MCSectionMachO.cpp
MCStreamer.cpp Last in the series of removing unnecessary '0' arguments for 2013-01-09 03:52:05 +00:00
MCSubtargetInfo.cpp
MCSymbol.cpp
MCValue.cpp
MCWin64EH.cpp
SubtargetFeature.cpp
WinCOFFObjectWriter.cpp
WinCOFFStreamer.cpp [MC][COFF] Switch the COFF streamer over to using the MCObjectStreamer version of EmitInstruction. 2013-01-03 01:09:22 +00:00