From c35146b7254900b34ecad51fb71f9478360ca0b9 Mon Sep 17 00:00:00 2001 From: "Michael J. Spencer" Date: Tue, 3 Apr 2012 23:36:44 +0000 Subject: Sorry about that. MSVC seems to accept just about any random string you give it ;/ git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@153979 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Support/YAMLParser.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/Support/YAMLParser.cpp') diff --git a/lib/Support/YAMLParser.cpp b/lib/Support/YAMLParser.cpp index 3e302d0eb1..475c2e5af4 100644 --- a/lib/Support/YAMLParser.cpp +++ b/lib/Support/YAMLParser.cpp @@ -133,6 +133,7 @@ struct Token : ilist_node { } } +namespace llvm { template<> struct ilist_sentinel_traits { Token *createSentinel() const { @@ -163,6 +164,7 @@ struct ilist_node_traits { BumpPtrAllocator Alloc; }; +} typedef ilist TokenQueueT; @@ -1564,8 +1566,6 @@ Node::Node(unsigned int Type, OwningPtr &D, StringRef A) SourceRange = SMRange(Start, Start); } -Node::~Node() {} - Token &Node::peekNext() { return Doc->peekNext(); } -- cgit v1.2.3