Deleted Added
full compact
ChainedDiagnosticConsumer.h (234353) ChainedDiagnosticConsumer.h (251662)
1//===- ChainedDiagnosticConsumer.h - Chain Diagnostic Clients ---*- C++ -*-===//
2//
3// The LLVM Compiler Infrastructure
4//
5// This file is distributed under the University of Illinois Open Source
6// License. See LICENSE.TXT for details.
7//
8//===----------------------------------------------------------------------===//

--- 46 unchanged lines hidden (view full) ---

55 virtual void HandleDiagnostic(DiagnosticsEngine::Level DiagLevel,
56 const Diagnostic &Info) {
57 // Default implementation (Warnings/errors count).
58 DiagnosticConsumer::HandleDiagnostic(DiagLevel, Info);
59
60 Primary->HandleDiagnostic(DiagLevel, Info);
61 Secondary->HandleDiagnostic(DiagLevel, Info);
62 }
1//===- ChainedDiagnosticConsumer.h - Chain Diagnostic Clients ---*- C++ -*-===//
2//
3// The LLVM Compiler Infrastructure
4//
5// This file is distributed under the University of Illinois Open Source
6// License. See LICENSE.TXT for details.
7//
8//===----------------------------------------------------------------------===//

--- 46 unchanged lines hidden (view full) ---

55 virtual void HandleDiagnostic(DiagnosticsEngine::Level DiagLevel,
56 const Diagnostic &Info) {
57 // Default implementation (Warnings/errors count).
58 DiagnosticConsumer::HandleDiagnostic(DiagLevel, Info);
59
60 Primary->HandleDiagnostic(DiagLevel, Info);
61 Secondary->HandleDiagnostic(DiagLevel, Info);
62 }
63
64 DiagnosticConsumer *clone(DiagnosticsEngine &Diags) const {
65 return new ChainedDiagnosticConsumer(Primary->clone(Diags),
66 Secondary->clone(Diags));
67 }
68
69};
70
71} // end namspace clang
72
73#endif
63};
64
65} // end namspace clang
66
67#endif