mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 11:42:57 +01:00
9df0e64f25
Many lists want to override only allocation semantics, or callbacks for iplist. Split these up to prevent code duplication. - Specialize ilist_alloc_traits to change the implementations of deleteNode() and createNode(). - One common desire is to do nothing deleteNode() and disable createNode(). Specialize ilist_alloc_traits to inherit from ilist_noalloc_traits for that behaviour. - Specialize ilist_callback_traits to use the addNodeToList(), removeNodeFromList(), and transferNodesFromList() callbacks. As a drive-by, add some coverage to the callback-related unit tests. llvm-svn: 280128 |
||
---|---|---|
.. | ||
MCDisassembler | ||
MCParser | ||
ConstantPools.h | ||
MachineLocation.h | ||
MCAsmBackend.h | ||
MCAsmInfo.h | ||
MCAsmInfoCOFF.h | ||
MCAsmInfoDarwin.h | ||
MCAsmInfoELF.h | ||
MCAsmLayout.h | ||
MCAssembler.h | ||
MCCodeEmitter.h | ||
MCCodeView.h | ||
MCContext.h | ||
MCDirectives.h | ||
MCDwarf.h | ||
MCELFObjectWriter.h | ||
MCELFStreamer.h | ||
MCExpr.h | ||
MCFixedLenDisassembler.h | ||
MCFixup.h | ||
MCFixupKindInfo.h | ||
MCFragment.h | ||
MCInst.h | ||
MCInstBuilder.h | ||
MCInstPrinter.h | ||
MCInstrAnalysis.h | ||
MCInstrDesc.h | ||
MCInstrInfo.h | ||
MCInstrItineraries.h | ||
MCLabel.h | ||
MCLinkerOptimizationHint.h | ||
MCMachObjectWriter.h | ||
MCObjectFileInfo.h | ||
MCObjectStreamer.h | ||
MCObjectWriter.h | ||
MCRegisterInfo.h | ||
MCSchedule.h | ||
MCSection.h | ||
MCSectionCOFF.h | ||
MCSectionELF.h | ||
MCSectionMachO.h | ||
MCStreamer.h | ||
MCSubtargetInfo.h | ||
MCSymbol.h | ||
MCSymbolCOFF.h | ||
MCSymbolELF.h | ||
MCSymbolMachO.h | ||
MCTargetOptions.h | ||
MCTargetOptionsCommandFlags.h | ||
MCValue.h | ||
MCWin64EH.h | ||
MCWinCOFFObjectWriter.h | ||
MCWinCOFFStreamer.h | ||
MCWinEH.h | ||
SectionKind.h | ||
StringTableBuilder.h | ||
SubtargetFeature.h |