Lines Matching defs:location_t
80 /* The typedef "location_t" is a key within the location database,
290 To further see how location_t works in practice, see the
292 typedef unsigned int location_t;
302 const location_t LINE_MAP_MAX_LOCATION_WITH_PACKED_RANGES = 0x50000000;
307 const location_t LINE_MAP_MAX_LOCATION_WITH_COLS = 0x60000000;
310 const location_t LINE_MAP_MAX_LOCATION = 0x70000000;
322 location_t m_start;
323 location_t m_finish;
329 /* Make a source_range from a location_t. */
330 static source_range from_location (location_t loc)
338 /* Make a source_range from a pair of location_t. */
339 static source_range from_locations (location_t start,
340 location_t finish)
386 location_t start_location;
417 /* Number of the low-order location_t bits used for column numbers
445 location_t included_from;
452 const location_t MAX_LOCATION_T = 0x7FFFFFFF;
529 location_t * GTY((atomic)) macro_locations;
536 location_t expansion;
569 IS_ORDINARY_LOC (location_t loc)
577 IS_ADHOC_LOC (location_t loc)
638 inline location_t
700 inline location_t *
708 inline location_t
755 location_t locus;
774 location_t curr_loc;
798 /* Highest location_t "given out". */
799 location_t highest_location;
801 /* Start of line of highest location_t "given out". */
802 location_t highest_line;
819 location_t builtin_location;
1019 inline location_t
1034 extern location_t get_combined_adhoc_loc (line_maps *, location_t,
1036 extern void *get_data_from_adhoc_loc (const line_maps *, location_t);
1037 extern location_t get_location_from_adhoc_loc (const line_maps *,
1038 location_t);
1040 extern source_range get_range_from_loc (line_maps *set, location_t loc);
1046 pure_location_p (line_maps *set, location_t loc);
1051 extern location_t get_pure_location (line_maps *set, location_t loc);
1055 inline location_t
1057 location_t loc,
1071 location_t builtin_location);
1077 /* Return a location_t for the start (i.e. column==0) of
1083 extern location_t linemap_line_start
1124 location_t, unsigned int);
1130 extern location_t linemap_module_loc
1131 (line_maps *, location_t from, const char *name);
1133 (line_maps *, location_t loc, location_t new_parent);
1147 (const line_maps *, location_t);
1149 unsigned linemap_lookup_macro_index (const line_maps *, location_t);
1168 location_t);
1173 location_t);
1178 location_t);
1185 extern location_t linemap_macro_map_loc_unwind_toward_spelling
1186 (line_maps *set, const line_map_macro *macro_map, location_t location);
1188 /* location_t values from 0 to RESERVED_LOCATION_COUNT-1 will
1191 const location_t RESERVED_LOCATION_COUNT = 2;
1193 /* Converts a map and a location_t to source line. */
1195 SOURCE_LINE (const line_map_ordinary *ord_map, location_t loc)
1201 /* Convert a map and location_t to source column number. */
1203 SOURCE_COLUMN (const line_map_ordinary *ord_map, location_t loc)
1210 inline location_t
1228 /* Encode and return a location_t from a column number. The
1232 extern location_t
1237 location_t
1242 /* Encode and return a location_t starting from location LOC and
1245 location_t
1247 location_t loc,
1275 location_t loc0,
1276 location_t loc1,
1277 location_t *res_loc0,
1278 location_t *res_loc1);
1285 location_t pre,
1286 location_t post);
1293 location_t loc_a,
1294 location_t loc_b)
1353 location_t m_loc;
1637 location_t value to express the new location.
1667 rich_location (line_maps *set, location_t loc,
1680 location_t get_loc () const { return get_loc (0); }
1681 location_t get_loc (unsigned int idx) const;
1684 add_range (location_t loc,
1690 set_range (unsigned int idx, location_t loc,
1714 add_fixit_insert_before (location_t where,
1724 add_fixit_insert_after (location_t where,
1736 add_fixit_remove (location_t where);
1751 add_fixit_replace (location_t where,
1803 bool reject_impossible_fixit (location_t where);
1805 void maybe_add_fixit (location_t start,
1806 location_t next_loc,
1922 fixit_hint (location_t start,
1923 location_t next_loc,
1928 location_t get_start_loc () const { return m_start; }
1929 location_t get_next_loc () const { return m_next_loc; }
1930 bool maybe_append (location_t start,
1931 location_t next_loc,
1946 location_t m_start;
1947 location_t m_next_loc;
2011 location_t linemap_resolve_location (class line_maps *,
2012 location_t loc,
2023 location_t linemap_unwind_toward_expansion (class line_maps *,
2024 location_t loc,
2041 location_t linemap_unwind_to_first_non_reserved_loc (class line_maps *,
2042 location_t loc,
2051 location_t loc);
2078 location_t *loc);
2086 void linemap_dump_location (line_maps *, location_t, FILE *);
2098 /* An enum for distinguishing the various parts within a location_t. */
2107 /* The rich_location class requires a way to expand location_t instances.
2114 linemap_client_expand_location_to_spelling_point (location_t,