20#ifndef GCC_SUBSTRING_LOCATIONS_H
21#define GCC_SUBSTRING_LOCATIONS_H
Definition substring-locations.h:47
tree m_string_type
Definition substring-locations.h:71
void set_caret_index(int caret_idx)
Definition substring-locations.h:59
int m_start_idx
Definition substring-locations.h:73
int get_caret_idx() const
Definition substring-locations.h:65
location_t get_fmt_string_loc() const
Definition substring-locations.h:63
int get_start_idx() const
Definition substring-locations.h:66
substring_loc(location_t fmt_string_loc, tree string_type, int caret_idx, int start_idx, int end_idx)
Definition substring-locations.h:54
int m_end_idx
Definition substring-locations.h:74
int get_end_idx() const
Definition substring-locations.h:67
int m_caret_idx
Definition substring-locations.h:72
tree get_string_type() const
Definition substring-locations.h:64
location_t m_fmt_string_loc
Definition substring-locations.h:70
const char * get_location(location_t *out_loc) const
Definition substring-locations.cc:281
union tree_node * tree
Definition coretypes.h:97
#define ATTRIBUTE_GCC_DIAG(m, n)
Definition diagnostic-core.h:67
struct type string_type
Definition gengtype.cc:489
T * ggc_alloc(ALONE_CXX_MEM_STAT_INFO)
Definition ggc.h:184
static void const char va_list ap
Definition read-md.cc:205
Definition gengtype.h:252
const char * get_location_within_string(cpp_reader *pfile, file_cache &fc, string_concat_db *concats, location_t strloc, enum cpp_ttype type, int caret_idx, int start_idx, int end_idx, location_t *out_loc)
Definition input.cc:1827