FLANG
Public Types | Public Member Functions | List of all members
Fortran::frontend::TextDiagnosticBuffer Class Reference
Inheritance diagram for Fortran::frontend::TextDiagnosticBuffer:

Public Types

using DiagList = std::vector< std::pair< clang::SourceLocation, std::string > >
 
using DiagnosticsLevelAndIndexPairs = std::vector< std::pair< clang::DiagnosticsEngine::Level, size_t > >
 

Public Member Functions

void HandleDiagnostic (clang::DiagnosticsEngine::Level diagLevel, const clang::Diagnostic &info) override
 
void flushDiagnostics (clang::DiagnosticsEngine &diags) const
 Flush the buffered diagnostics to a given diagnostic engine.
 

Member Function Documentation

◆ HandleDiagnostic()

void TextDiagnosticBuffer::HandleDiagnostic ( clang::DiagnosticsEngine::Level  level,
const clang::Diagnostic &  info 
)
override

HandleDiagnostic - Store the errors, warnings, and notes that are reported.


The documentation for this class was generated from the following files: