aboutsummaryrefslogtreecommitdiff
path: root/lib/Checker/PathDiagnostic.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Checker/PathDiagnostic.cpp')
-rw-r--r--lib/Checker/PathDiagnostic.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Checker/PathDiagnostic.cpp b/lib/Checker/PathDiagnostic.cpp
index 1ddc08ee43..0f0dddc6d7 100644
--- a/lib/Checker/PathDiagnostic.cpp
+++ b/lib/Checker/PathDiagnostic.cpp
@@ -84,6 +84,8 @@ PathDiagnostic::PathDiagnostic(llvm::StringRef bugtype, llvm::StringRef desc,
void PathDiagnosticClient::HandleDiagnostic(Diagnostic::Level DiagLevel,
const DiagnosticInfo &Info) {
+ // Default implementation (Warnings/errors count).
+ DiagnosticClient::HandleDiagnostic(DiagLevel, Info);
// Create a PathDiagnostic with a single piece.