llvm.org GIT mirror llvm / a95b4eb
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 Benjamin Kramer 8 years ago
2 changed file(s) with 3 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
7777 class Stream {
7878 public:
7979 Stream(StringRef Input, SourceMgr &);
80 ~Stream();
8081
8182 document_iterator begin();
8283 document_iterator end();
15221522 : scanner(new Scanner(Input, SM))
15231523 , CurrentDoc(0) {}
15241524
1525 Stream::~Stream() {}
1526
15251527 bool Stream::failed() { return scanner->failed(); }
15261528
15271529 void Stream::printError(Node *N, const Twine &Msg) {