LLDB mainline
|
#include <DiagnosticManager.h>
Public Member Functions | |
DiagnosticOrigin | getKind () const |
Diagnostic (DiagnosticOrigin origin, uint32_t compiler_id, DiagnosticDetail detail) | |
virtual | ~Diagnostic ()=default |
virtual bool | HasFixIts () const |
lldb::Severity | GetSeverity () const |
uint32_t | GetCompilerID () const |
llvm::StringRef | GetMessage () const |
const DiagnosticDetail & | GetDetail () const |
void | AppendMessage (llvm::StringRef message, bool precede_with_newline=true) |
Static Public Member Functions | |
static bool | classof (const Diagnostic *diag) |
Protected Attributes | |
DiagnosticOrigin | m_origin |
uint32_t | m_compiler_id |
Compiler-specific diagnostic ID. | |
DiagnosticDetail | m_detail |
Friends | |
class | DiagnosticManager |
Definition at line 58 of file DiagnosticManager.h.
|
inline |
Definition at line 77 of file DiagnosticManager.h.
References m_compiler_id, m_detail, and m_origin.
Referenced by lldb_private::ClangDiagnostic::ClangDiagnostic(), lldb_private::ClangDiagnostic::classof(), and classof().
|
virtualdefault |
void Diagnostic::AppendMessage | ( | llvm::StringRef | message, |
bool | precede_with_newline = true ) |
Definition at line 149 of file DiagnosticManager.cpp.
References m_detail.
|
inlinestatic |
Definition at line 64 of file DiagnosticManager.h.
References Diagnostic(), lldb_private::eDiagnosticOriginClang, lldb_private::eDiagnosticOriginLLDB, lldb_private::eDiagnosticOriginLLVM, lldb_private::eDiagnosticOriginSwift, lldb_private::eDiagnosticOriginUnknown, and getKind().
|
inline |
Definition at line 87 of file DiagnosticManager.h.
References m_compiler_id.
|
inline |
Definition at line 90 of file DiagnosticManager.h.
References m_detail.
|
inline |
Definition at line 62 of file DiagnosticManager.h.
References m_origin.
Referenced by lldb_private::ClangDiagnostic::classof(), and classof().
|
inline |
Definition at line 89 of file DiagnosticManager.h.
References m_detail.
|
inline |
Definition at line 85 of file DiagnosticManager.h.
References m_detail.
|
inlinevirtual |
Reimplemented in lldb_private::ClangDiagnostic.
Definition at line 83 of file DiagnosticManager.h.
|
friend |
Definition at line 59 of file DiagnosticManager.h.
References DiagnosticManager.
Referenced by DiagnosticManager.
|
protected |
Compiler-specific diagnostic ID.
Definition at line 97 of file DiagnosticManager.h.
Referenced by Diagnostic(), and GetCompilerID().
|
protected |
Definition at line 98 of file DiagnosticManager.h.
Referenced by AppendMessage(), Diagnostic(), GetDetail(), GetMessage(), and GetSeverity().
|
protected |
Definition at line 95 of file DiagnosticManager.h.
Referenced by Diagnostic(), and getKind().