LLDB  mainline
Public Member Functions | Protected Attributes | List of all members
lldb_private::DiagnosticManager Class Reference

#include <DiagnosticManager.h>

Collaboration diagram for lldb_private::DiagnosticManager:
Collaboration graph

Public Member Functions

void Clear ()
const DiagnosticListDiagnostics ()
bool HasFixIts () const
void AddDiagnostic (llvm::StringRef message, DiagnosticSeverity severity, DiagnosticOrigin origin, uint32_t compiler_id=LLDB_INVALID_COMPILER_ID)
void AddDiagnostic (std::unique_ptr< Diagnostic > diagnostic)
size_t Printf (DiagnosticSeverity severity, const char *format,...) __attribute__((format(printf
size_t void PutString (DiagnosticSeverity severity, llvm::StringRef str)
void AppendMessageToDiagnostic (llvm::StringRef str)
std::string GetString (char separator='\n')
void Dump (Log *log)
const std::stringGetFixedExpression ()
void SetFixedExpression (std::string fixed_expression)

Protected Attributes

DiagnosticList m_diagnostics
std::string m_fixed_expression

Detailed Description

Definition at line 93 of file DiagnosticManager.h.

Member Function Documentation

◆ AddDiagnostic() [1/2]

void lldb_private::DiagnosticManager::AddDiagnostic ( llvm::StringRef  message,
DiagnosticSeverity  severity,
DiagnosticOrigin  origin,
uint32_t  compiler_id = LLDB_INVALID_COMPILER_ID 

Definition at line 109 of file DiagnosticManager.h.

References m_diagnostics, and message().

Referenced by Printf(), and PutString().

◆ AddDiagnostic() [2/2]

void lldb_private::DiagnosticManager::AddDiagnostic ( std::unique_ptr< Diagnostic diagnostic)

Definition at line 116 of file DiagnosticManager.h.

References m_diagnostics.

◆ AppendMessageToDiagnostic()

void lldb_private::DiagnosticManager::AppendMessageToDiagnostic ( llvm::StringRef  str)

◆ Clear()

void lldb_private::DiagnosticManager::Clear ( )

◆ Diagnostics()

const DiagnosticList& lldb_private::DiagnosticManager::Diagnostics ( )

◆ Dump()

void DiagnosticManager::Dump ( Log log)

◆ GetFixedExpression()

const std::string& lldb_private::DiagnosticManager::GetFixedExpression ( )

Definition at line 138 of file DiagnosticManager.h.

References m_fixed_expression.

Referenced by lldb_private::ClangUserExpression::TryParse().

◆ GetString()

std::string DiagnosticManager::GetString ( char  separator = '\n')

◆ HasFixIts()

bool lldb_private::DiagnosticManager::HasFixIts ( ) const

Definition at line 102 of file DiagnosticManager.h.

References m_diagnostics.

Referenced by lldb_private::ClangUserExpression::TryParse().

◆ Printf()

size_t DiagnosticManager::Printf ( DiagnosticSeverity  severity,
const char *  format,

◆ PutString()

void DiagnosticManager::PutString ( DiagnosticSeverity  severity,
llvm::StringRef  str 

◆ SetFixedExpression()

void lldb_private::DiagnosticManager::SetFixedExpression ( std::string  fixed_expression)

Member Data Documentation

◆ m_diagnostics

DiagnosticList lldb_private::DiagnosticManager::m_diagnostics

◆ m_fixed_expression

std::string lldb_private::DiagnosticManager::m_fixed_expression

Definition at line 147 of file DiagnosticManager.h.

Referenced by Clear(), GetFixedExpression(), and SetFixedExpression().

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