Home
last modified time | relevance | path

Searched refs:substring_loc (Results 1 – 21 of 21) sorted by relevance

/netbsd-src/external/gpl3/gcc/dist/gcc/
H A Dsubstring-locations.h46 class substring_loc
54 substring_loc (location_t fmt_string_loc, tree string_type, in substring_loc() function
82 format_string_diagnostic_t (const substring_loc &fmt_loc,
107 const substring_loc &m_fmt_loc;
H A Dsubstring-locations.cc124 format_string_diagnostic_t (const substring_loc &fmt_loc, in format_string_diagnostic_t()
281 substring_loc::get_location (location_t *out_loc) const in get_location()
H A Dlanghooks.h37 class substring_loc; variable
632 const char *(*get_substring_location) (const substring_loc &,
H A Dlanghooks-def.h27 class substring_loc; variable
95 extern const char *lhd_get_substring_location (const substring_loc &,
H A Dgimple-ssa-sprintf.cc333 fmtwarn (const substring_loc &fmt_loc, location_t param_loc, in fmtwarn()
349 fmtwarn_n (const substring_loc &fmt_loc, location_t param_loc, in fmtwarn_n()
2777 maybe_warn (substring_loc &dirloc, location_t argloc, in maybe_warn()
3103 substring_loc dirloc (info.fmtloc, TREE_TYPE (info.format), in format_directive()
3792 substring_loc dirloc (info.fmtloc, TREE_TYPE (info.format), in parse_directive()
3826 substring_loc dirloc (info.fmtloc, TREE_TYPE (info.format), in parse_directive()
H A Dlanghooks.cc876 lhd_get_substring_location (const substring_loc &, location_t *) in lhd_get_substring_location() argument
H A DChangeLog-201613952 * langhooks-def.h (class substring_loc): New forward decl.
13957 * langhooks.h (class substring_loc): New forward decl.
13962 * substring-locations.h (class substring_loc): Move class here
H A DChangeLog13847 * langhooks.h (class substring_loc): Likewise.
/netbsd-src/external/gpl3/gcc.old/dist/gcc/
H A Dsubstring-locations.h46 class substring_loc
54 substring_loc (location_t fmt_string_loc, tree string_type, in substring_loc() function
82 format_string_diagnostic_t (const substring_loc &fmt_loc,
107 const substring_loc &m_fmt_loc;
H A Dsubstring-locations.c124 format_string_diagnostic_t (const substring_loc &fmt_loc, in format_string_diagnostic_t()
281 substring_loc::get_location (location_t *out_loc) const in get_location()
H A Dlanghooks.h37 class substring_loc; variable
576 const char *(*get_substring_location) (const substring_loc &,
H A Dlanghooks-def.h27 class substring_loc; variable
90 extern const char *lhd_get_substring_location (const substring_loc &,
H A Dgimple-ssa-sprintf.c332 fmtwarn (const substring_loc &fmt_loc, location_t param_loc, in fmtwarn()
347 fmtwarn_n (const substring_loc &fmt_loc, location_t param_loc, in fmtwarn_n()
2718 maybe_warn (substring_loc &dirloc, location_t argloc, in maybe_warn()
3044 substring_loc dirloc (info.fmtloc, TREE_TYPE (info.format), in format_directive()
3734 substring_loc dirloc (info.fmtloc, TREE_TYPE (info.format), in parse_directive()
3768 substring_loc dirloc (info.fmtloc, TREE_TYPE (info.format), in parse_directive()
H A Dlanghooks.c826 lhd_get_substring_location (const substring_loc &, location_t *) in lhd_get_substring_location() argument
/netbsd-src/external/gpl3/gcc/dist/gcc/c-family/
H A Dc-format.cc111 substring_loc fmt_loc (fmt_string_loc, string_type, char_idx, char_idx, in format_warning_at_char()
137 substring_loc fmt_loc (fmt_string_loc, string_type, pos1, pos1, pos2); in format_warning_substr()
1093 static void check_format_types (const substring_loc &fmt_loc,
1099 static void format_type_warning (const substring_loc &fmt_loc,
2857 substring_loc fmt_loc (fmt_param_loc, TREE_TYPE (format_string_cst), in check_argument_type()
4092 check_format_types (const substring_loc &fmt_loc, in check_format_types()
4502 get_corrected_substring (const substring_loc &fmt_loc, in get_corrected_substring()
4519 substring_loc type_loc (fmt_loc); in get_corrected_substring()
4694 format_type_warning (const substring_loc &whole_fmt_loc, in format_type_warning()
4728 substring_loc fmt_loc (whole_fmt_loc); in format_type_warning()
H A Dc-common.h1142 class substring_loc; variable
1143 extern const char *c_get_substring_location (const substring_loc &substr_loc,
H A DChangeLog6464 (substring_loc::get_location): Move to substring-locations.c,
6468 * c-common.h (class substring_loc): Move to substring-locations.h,
6606 * c-common.c (substring_loc::get_range): Rename to...
6607 (substring_loc::get_location): ...this, converting param from a
6611 * c-common.h (substring_loc::substring_loc): Add param "caret_idx".
6612 (substring_loc::get_range): Replace with...
6613 (substring_loc::get_location): ...this.
6614 (substring_loc::set_caret_index): New method.
6615 (substring_loc): Add field m_caret_idx.
6617 Rename local "substring_loc" to "fmt_substring_loc" to avoid
[all …]
H A Dc-common.cc913 c_get_substring_location (const substring_loc &substr_loc, in c_get_substring_location()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/c-family/
H A Dc-format.c111 substring_loc fmt_loc (fmt_string_loc, string_type, char_idx, char_idx, in format_warning_at_char()
137 substring_loc fmt_loc (fmt_string_loc, string_type, pos1, pos1, pos2); in format_warning_substr()
1101 static void check_format_types (const substring_loc &fmt_loc,
1107 static void format_type_warning (const substring_loc &fmt_loc,
2864 substring_loc fmt_loc (fmt_param_loc, TREE_TYPE (format_string_cst), in check_argument_type()
4093 check_format_types (const substring_loc &fmt_loc, in check_format_types()
4503 get_corrected_substring (const substring_loc &fmt_loc, in get_corrected_substring()
4520 substring_loc type_loc (fmt_loc); in get_corrected_substring()
4695 format_type_warning (const substring_loc &whole_fmt_loc, in format_type_warning()
4729 substring_loc fmt_loc (whole_fmt_loc); in format_type_warning()
H A Dc-common.h1112 class substring_loc; variable
1113 extern const char *c_get_substring_location (const substring_loc &substr_loc,
H A Dc-common.c890 c_get_substring_location (const substring_loc &substr_loc, in c_get_substring_location()