Keep track of errors/warnings in FixItRewriter.
llvm-svn: 119735
This commit is contained in:
parent
3df7f94fd0
commit
6d35b5a210
|
@ -80,6 +80,9 @@ bool FixItRewriter::IncludeInDiagnosticCounts() const {
|
|||
|
||||
void FixItRewriter::HandleDiagnostic(Diagnostic::Level DiagLevel,
|
||||
const DiagnosticInfo &Info) {
|
||||
// Default implementation (Warnings/errors count).
|
||||
DiagnosticClient::HandleDiagnostic(DiagLevel, Info);
|
||||
|
||||
Client->HandleDiagnostic(DiagLevel, Info);
|
||||
|
||||
// Skip over any diagnostics that are ignored or notes.
|
||||
|
|
Loading…
Reference in New Issue