
Go to the source code of this file.
Data Types | |
| type | line_map |
| type | line_maps |
Defines | |
| #define | SOURCE_LINE(MAP, LINE) ((LINE) + (MAP)->to_line - (MAP)->from_line) |
| #define | LAST_SOURCE_LINE(MAP) SOURCE_LINE ((MAP), (MAP)[1].from_line - 1) |
| #define | INCLUDED_FROM(SET, MAP) (&(SET)->maps[(MAP)->included_from]) |
| #define | MAIN_FILE_P(MAP) ((MAP)->included_from < 0) |
| #define | CURRENT_LINE_MAP(MAPS) ((MAPS)->maps + (MAPS)->used - 1) |
Enumerations | |
| enum | lc_reason { LC_ENTER = 0, LC_LEAVE, LC_RENAME, LC_ENTER = 0, LC_LEAVE, LC_RENAME, LC_ENTER = 0, LC_LEAVE, LC_RENAME, LC_ENTER = 0, LC_LEAVE, LC_RENAME } |
Functions/Subroutines | |
| void init_line_maps | PARAMS ((struct line_maps *)) |
| struct line_map *add_line_map | PARAMS ((struct line_maps *, enum lc_reason, unsigned int sysp, unsigned int from_line, const char *to_file, unsigned int to_line)) |
| struct line_map *lookup_line | PARAMS ((struct line_maps *, unsigned int)) |
| void print_containing_files | PARAMS ((struct line_maps *, const struct line_map *)) |
| #define CURRENT_LINE_MAP | ( | MAPS | ) | ((MAPS)->maps + (MAPS)->used - 1) |
Definition at line 110 of file line-map.h.
Referenced by _cpp_builtin_macro_text(), add_line_map(), free_line_maps(), linemap_add(), linemap_check_files_exited(), linemap_print_containing_files(), pp_file_change(), and print_containing_files().
Definition at line 107 of file line-map.h.
Referenced by add_line_map(), fe_file_change(), linemap_print_containing_files(), and print_containing_files().
Definition at line 113 of file line-map.h.
Referenced by _cpp_builtin_macro_text(), _cpp_warn_if_unused_macro(), add_line_map(), cb_file_change(), fe_file_change(), free_line_maps(), linemap_add(), linemap_check_files_exited(), linemap_print_containing_files(), and print_containing_files().
Definition at line 103 of file line-map.h.
Referenced by _cpp_builtin_macro_text(), cb_def_pragma(), cb_define(), cb_file_change(), cb_line_change(), cb_undef(), cpp_make_system_header(), linemap_add(), linemap_line_start(), linemap_position_for_column(), maybe_print_line(), print_line(), print_location(), and scan_decls().
| enum lc_reason |
| LC_ENTER | |
| LC_LEAVE | |
| LC_RENAME | |
| LC_ENTER | |
| LC_LEAVE | |
| LC_RENAME | |
| LC_ENTER | |
| LC_LEAVE | |
| LC_RENAME | |
| LC_ENTER | |
| LC_LEAVE | |
| LC_RENAME |
Definition at line 31 of file line-map.h.
| struct line_map* add_line_map PARAMS | ( | (struct line_maps *, enum lc_reason, unsigned int sysp, unsigned int from_line, const char *to_file, unsigned int to_line) | ) | [read] |
1.5.6