|
GCC Middle and Back End API Reference
|
#include <optinfo.h>
Public Types | |
| enum class | kind { text , tree , gimple , symtab_node } |
Public Member Functions | |
| optinfo_item (enum kind kind_, location_t location, char *text) | |
| ~optinfo_item () | |
| enum kind | get_kind () const |
| location_t | get_location () const |
| const char * | get_text () const |
Private Attributes | |
| enum kind | m_kind |
| location_t | m_location |
| char * | m_text |
An item within an optinfo.
|
strong |
| optinfo_item::optinfo_item | ( | enum kind | kind_, |
| location_t | location, | ||
| char * | text ) |
optinfo_item's ctor. Takes ownership of TEXT.
References m_kind, m_location, and m_text.
|
inline |
References m_kind.
Referenced by optrecord_json_writer::optinfo_to_json().
|
inline |
References m_location.
Referenced by optrecord_json_writer::optinfo_to_json().
|
inline |
References m_text.
Referenced by dump_context::emit_item(), and optrecord_json_writer::optinfo_to_json().
|
private |
Referenced by get_kind(), and optinfo_item().
|
private |
Referenced by get_location(), and optinfo_item().
|
private |
Referenced by get_text(), optinfo_item(), and ~optinfo_item().