Attempt to fix unit tests

llvm-svn: 140748
This commit is contained in:
Douglas Gregor 2011-09-29 00:53:49 +00:00
parent c2e5ca6e50
commit 8fd12c58b1
1 changed files with 4 additions and 0 deletions

View File

@ -31,6 +31,10 @@ class DiagnosticOutputGetter {
}
StringRef get() const { return LastDiagnostic; }
virtual DiagnosticConsumer *clone(DiagnosticsEngine &Diags) const {
return new LastDiagnosticString();
}
};
const IntrusiveRefCntPtr<DiagnosticIDs> DiagIDs;