forked from OSchip/llvm-project
parent
c2e5ca6e50
commit
8fd12c58b1
|
@ -31,6 +31,10 @@ class DiagnosticOutputGetter {
|
|||
}
|
||||
|
||||
StringRef get() const { return LastDiagnostic; }
|
||||
|
||||
virtual DiagnosticConsumer *clone(DiagnosticsEngine &Diags) const {
|
||||
return new LastDiagnosticString();
|
||||
}
|
||||
};
|
||||
|
||||
const IntrusiveRefCntPtr<DiagnosticIDs> DiagIDs;
|
||||
|
|
Loading…
Reference in New Issue