#include <libgdiagnostics++.h>
Public Member Functions | |
diagnostic (::diagnostic *d) | |
void | set_cwe (unsigned cwe_id) |
void | add_rule (const char *title, const char *url) |
void | set_location (physical_location loc) |
void | add_location_with_label (physical_location loc, const char *text) |
void | set_logical_location (logical_location loc) |
void | add_fix_it_hint_insert_before (physical_location loc, const char *addition) |
void | add_fix_it_hint_insert_after (physical_location loc, const char *addition) |
void | add_fix_it_hint_replace (physical_location loc, const char *replacement) |
void | add_fix_it_hint_delete (physical_location loc) |
void | take_execution_path (execution_path path) |
void | finish (const char *fmt,...) LIBGDIAGNOSTICS_PARAM_GCC_FORMAT_STRING(2 |
void void | finish_va (const char *fmt, va_list *args) LIBGDIAGNOSTICS_PARAM_GCC_FORMAT_STRING(2 |
Data Fields | |
void void ::diagnostic *const | m_inner |
Wrapper around a diagnostic *.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
References diagnostic_add_rule(), and m_inner.
|
inline |
References ap, diagnostic_finish_va(), and m_inner.
Referenced by main(), and parse_options().
|
inline |
References diagnostic_finish_va(), and m_inner.
|
inline |
References diagnostic_set_cwe(), and m_inner.
|
inline |
References diagnostic_set_location(), m_inner, and libgdiagnostics::physical_location::m_inner.
|
inline |
|
inline |
References diagnostic_take_execution_path(), and m_inner.
void void ::diagnostic* const libgdiagnostics::diagnostic::m_inner |
Referenced by add_fix_it_hint_delete(), add_fix_it_hint_insert_after(), add_fix_it_hint_insert_before(), add_fix_it_hint_replace(), add_location_with_label(), add_rule(), finish(), finish_va(), libgdiagnostics::manager::manager(), set_cwe(), set_location(), set_logical_location(), and take_execution_path().