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.
|
virtualdefault |
void Diagnostic::AppendMessage | ( | llvm::StringRef | message, |
bool | precede_with_newline = true |
||
) |
Definition at line 150 of file DiagnosticManager.cpp.
References m_detail, lldb_private::DiagnosticDetail::message, and lldb_private::DiagnosticDetail::rendered.
|
inlinestatic |
Definition at line 64 of file DiagnosticManager.h.
References 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 classof(), and lldb_private::ClangDiagnostic::classof().
|
inline |
Definition at line 89 of file DiagnosticManager.h.
References m_detail, and lldb_private::DiagnosticDetail::message.
|
inline |
Definition at line 85 of file DiagnosticManager.h.
References m_detail, and lldb_private::DiagnosticDetail::severity.
|
inlinevirtual |
Reimplemented in lldb_private::ClangDiagnostic.
Definition at line 83 of file DiagnosticManager.h.
|
friend |
Definition at line 59 of file DiagnosticManager.h.
|
protected |
Compiler-specific diagnostic ID.
Definition at line 97 of file DiagnosticManager.h.
Referenced by GetCompilerID().
|
protected |
Definition at line 98 of file DiagnosticManager.h.
Referenced by AppendMessage(), GetDetail(), GetMessage(), and GetSeverity().
|
protected |
Definition at line 95 of file DiagnosticManager.h.
Referenced by getKind().