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/include/llvm/Support/YAMLParser.h b/include/llvm/Support/YAMLParser.h
index c5a51ab..1f0fc48 100644
--- a/include/llvm/Support/YAMLParser.h
+++ b/include/llvm/Support/YAMLParser.h
@@ -78,6 +78,7 @@
 class Stream {
 public:
   Stream(StringRef Input, SourceMgr &);
+  ~Stream();
 
   document_iterator begin();
   document_iterator end();
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) {