diff options
Diffstat (limited to 'include/clang/Frontend/ChainedDiagnosticClient.h')
-rw-r--r-- | include/clang/Frontend/ChainedDiagnosticClient.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/clang/Frontend/ChainedDiagnosticClient.h b/include/clang/Frontend/ChainedDiagnosticClient.h index 2d5e128..70f2190 100644 --- a/include/clang/Frontend/ChainedDiagnosticClient.h +++ b/include/clang/Frontend/ChainedDiagnosticClient.h @@ -48,6 +48,9 @@ public: virtual void HandleDiagnostic(Diagnostic::Level DiagLevel, const DiagnosticInfo &Info) { + // Default implementation (Warnings/errors count). + DiagnosticClient::HandleDiagnostic(DiagLevel, Info); + Primary->HandleDiagnostic(DiagLevel, Info); Secondary->HandleDiagnostic(DiagLevel, Info); } |