From 3a0822f094b578157263e04114075ad7df81db41 Mon Sep 17 00:00:00 2001 From: Dimitry Andric Date: Sun, 21 Jun 2015 13:59:01 +0000 Subject: Vendor import of llvm trunk r240225: https://llvm.org/svn/llvm-project/llvm/trunk@240225 --- include/llvm/MC/MCSection.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'include/llvm/MC/MCSection.h') diff --git a/include/llvm/MC/MCSection.h b/include/llvm/MC/MCSection.h index 5f6e8ec1d506..2d0d4dfc5913 100644 --- a/include/llvm/MC/MCSection.h +++ b/include/llvm/MC/MCSection.h @@ -31,6 +31,18 @@ class MCSection; class MCSymbol; class raw_ostream; +template<> +struct ilist_node_traits { + MCFragment *createNode(const MCFragment &V); + static void deleteNode(MCFragment *V); + + void addNodeToList(MCFragment *) {} + void removeNodeFromList(MCFragment *) {} + void transferNodesFromList(ilist_node_traits & /*SrcTraits*/, + ilist_iterator /*first*/, + ilist_iterator /*last*/) {} +}; + /// Instances of this class represent a uniqued identifier for a section in the /// current translation unit. The MCContext class uniques and creates these. class MCSection { -- cgit v1.2.3