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
diff --git a/lib/Support/YAMLParser.cpp b/lib/Support/YAMLParser.cpp
index 475c2e5..330519f 100644
--- a/lib/Support/YAMLParser.cpp
+++ b/lib/Support/YAMLParser.cpp
@@ -1523,6 +1523,8 @@
: scanner(new Scanner(Input, SM))
, CurrentDoc(0) {}
+Stream::~Stream() {}
+
bool Stream::failed() { return scanner->failed(); }
void Stream::printError(Node *N, const Twine &Msg) {