LLDB mainline
|
#include <ClangDiagnostic.h>
Public Types | |
typedef std::vector< clang::FixItHint > | FixItList |
Public Member Functions | |
ClangDiagnostic (llvm::StringRef message, lldb::Severity severity, uint32_t compiler_id) | |
~ClangDiagnostic () override=default | |
bool | HasFixIts () const override |
void | AddFixitHint (const clang::FixItHint &fixit) |
const FixItList & | FixIts () const |
Public Member Functions inherited from lldb_private::Diagnostic | |
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 ClangDiagnostic *) |
static bool | classof (const Diagnostic *diag) |
Static Public Member Functions inherited from lldb_private::Diagnostic | |
static bool | classof (const Diagnostic *diag) |
Private Attributes | |
FixItList | m_fixit_vec |
Additional Inherited Members | |
Protected Attributes inherited from lldb_private::Diagnostic | |
std::string | m_message |
lldb::Severity | m_severity |
DiagnosticOrigin | m_origin |
uint32_t | m_compiler_id |
Definition at line 23 of file ClangDiagnostic.h.
typedef std::vector<clang::FixItHint> lldb_private::ClangDiagnostic::FixItList |
Definition at line 25 of file ClangDiagnostic.h.
|
inline |
Definition at line 32 of file ClangDiagnostic.h.
|
overridedefault |
|
inline |
Definition at line 40 of file ClangDiagnostic.h.
References m_fixit_vec.
Referenced by AddAllFixIts().
|
inlinestatic |
Definition at line 27 of file ClangDiagnostic.h.
|
inlinestatic |
Definition at line 28 of file ClangDiagnostic.h.
References lldb_private::eDiagnosticOriginClang, and lldb_private::Diagnostic::getKind().
|
inline |
Definition at line 44 of file ClangDiagnostic.h.
References m_fixit_vec.
|
inlineoverridevirtual |
Reimplemented from lldb_private::Diagnostic.
Definition at line 38 of file ClangDiagnostic.h.
References m_fixit_vec.
|
private |
Definition at line 46 of file ClangDiagnostic.h.
Referenced by AddFixitHint(), FixIts(), and HasFixIts().