mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-17 06:33:21 +00:00
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
This commit is contained in:
parent
32d1774d45
commit
a95b4ebf3c
@ -78,6 +78,7 @@ std::string escape(StringRef Input);
|
||||
class Stream {
|
||||
public:
|
||||
Stream(StringRef Input, SourceMgr &);
|
||||
~Stream();
|
||||
|
||||
document_iterator begin();
|
||||
document_iterator end();
|
||||
|
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user