From a95b4ebf3c17f0069b8cea3841d66395eaf6d4e1 Mon Sep 17 00:00:00 2001 From: Benjamin Kramer Date: Wed, 4 Apr 2012 08:53:34 +0000 Subject: Move yaml::Stream's dtor out of line so it can see Scanner's dtor. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@154004 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Support/YAMLParser.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/Support/YAMLParser.cpp') diff --git a/lib/Support/YAMLParser.cpp b/lib/Support/YAMLParser.cpp index 475c2e5af4..330519f301 100644 --- a/lib/Support/YAMLParser.cpp +++ b/lib/Support/YAMLParser.cpp @@ -1523,6 +1523,8 @@ Stream::Stream(StringRef Input, SourceMgr &SM) : scanner(new Scanner(Input, SM)) , CurrentDoc(0) {} +Stream::~Stream() {} + bool Stream::failed() { return scanner->failed(); } void Stream::printError(Node *N, const Twine &Msg) { -- cgit v1.2.3