TextDiagnosticBuffer.h (193326) | TextDiagnosticBuffer.h (199990) |
---|---|
1//===--- TextDiagnosticBuffer.h - Buffer Text Diagnostics -------*- 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//===----------------------------------------------------------------------===// --- 27 unchanged lines hidden (view full) --- 36 const_iterator warn_begin() const { return Warnings.begin(); } 37 const_iterator warn_end() const { return Warnings.end(); } 38 39 const_iterator note_begin() const { return Notes.begin(); } 40 const_iterator note_end() const { return Notes.end(); } 41 42 virtual void HandleDiagnostic(Diagnostic::Level DiagLevel, 43 const DiagnosticInfo &Info); | 1//===--- TextDiagnosticBuffer.h - Buffer Text Diagnostics -------*- 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//===----------------------------------------------------------------------===// --- 27 unchanged lines hidden (view full) --- 36 const_iterator warn_begin() const { return Warnings.begin(); } 37 const_iterator warn_end() const { return Warnings.end(); } 38 39 const_iterator note_begin() const { return Notes.begin(); } 40 const_iterator note_end() const { return Notes.end(); } 41 42 virtual void HandleDiagnostic(Diagnostic::Level DiagLevel, 43 const DiagnosticInfo &Info); |
44 45 /// FlushDiagnostics - Flush the buffered diagnostics to an given 46 /// diagnostic engine. 47 void FlushDiagnostics(Diagnostic &Diags) const; |
|
44}; 45 46} // end namspace clang 47 48#endif | 48}; 49 50} // end namspace clang 51 52#endif |