GCC Middle and Back End API Reference
|
Public Member Functions | |
diagnostic_file (diagnostic_manager &mgr, const char *name, const char *sarif_source_language) | |
const char * | get_name () const |
const char * | get_sarif_source_language () const |
const content_buffer * | get_content () const |
void | set_buffered_content (const char *buf, size_t sz) |
Private Attributes | |
diagnostic_manager & | m_mgr |
owned_nullable_string | m_name |
owned_nullable_string | m_sarif_source_language |
std::unique_ptr< content_buffer > | m_content |
This has to be a "struct" as it is exposed in the C API.
|
inline |
|
inline |
References m_content.
Referenced by diagnostic_manager_debug_dump_file().
|
inline |
|
inline |
References owned_nullable_string::get_str(), and m_sarif_source_language.
Referenced by diagnostic_manager_debug_dump_file().
void diagnostic_file::set_buffered_content | ( | const char * | buf, |
size_t | sz ) |
|
private |
Referenced by get_content().
|
private |
|
private |
Referenced by get_name().
|
private |
Referenced by get_sarif_source_language().