LLDB mainline
|
#include <DiagnosticManager.h>
Public Member Functions | |
DiagnosticOrigin | getKind () const |
Diagnostic (llvm::StringRef message, lldb::Severity severity, DiagnosticOrigin origin, uint32_t compiler_id) | |
Diagnostic (const Diagnostic &rhs) | |
virtual | ~Diagnostic ()=default |
virtual bool | HasFixIts () const |
lldb::Severity | GetSeverity () const |
uint32_t | GetCompilerID () const |
llvm::StringRef | GetMessage () const |
void | AppendMessage (llvm::StringRef message, bool precede_with_newline=true) |
Static Public Member Functions | |
static bool | classof (const Diagnostic *diag) |
Protected Attributes | |
std::string | m_message |
lldb::Severity | m_severity |
DiagnosticOrigin | m_origin |
uint32_t | m_compiler_id |
Friends | |
class | DiagnosticManager |
Definition at line 33 of file DiagnosticManager.h.
|
inline |
Definition at line 52 of file DiagnosticManager.h.
|
inline |
Definition at line 57 of file DiagnosticManager.h.
|
virtualdefault |
|
inline |
Definition at line 71 of file DiagnosticManager.h.
References m_message.
|
inlinestatic |
Definition at line 39 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 67 of file DiagnosticManager.h.
References m_compiler_id.
|
inline |
Definition at line 37 of file DiagnosticManager.h.
References m_origin.
Referenced by classof(), and lldb_private::ClangDiagnostic::classof().
|
inline |
Definition at line 69 of file DiagnosticManager.h.
References m_message.
|
inline |
Definition at line 65 of file DiagnosticManager.h.
References m_severity.
|
inlinevirtual |
Reimplemented in lldb_private::ClangDiagnostic.
Definition at line 63 of file DiagnosticManager.h.
|
friend |
Definition at line 34 of file DiagnosticManager.h.
|
protected |
Definition at line 82 of file DiagnosticManager.h.
Referenced by GetCompilerID().
|
protected |
Definition at line 79 of file DiagnosticManager.h.
Referenced by AppendMessage(), and GetMessage().
|
protected |
Definition at line 81 of file DiagnosticManager.h.
Referenced by getKind().
|
protected |
Definition at line 80 of file DiagnosticManager.h.
Referenced by GetSeverity().