#include "line-map.h"


Go to the source code of this file.
Data Types | |
| type | file_stack |
Defines | |
| #define | BUILTINS_LOCATION ((source_location) 2) |
| #define | expand_location(FILELINE) (FILELINE) |
| #define | UNKNOWN_LOCATION unknown_location |
| #define | LOCATION_FILE(LOC) ((expand_location (LOC)).file) |
| #define | LOCATION_LINE(LOC) ((expand_location (LOC)).line) |
| #define | input_line LOCATION_LINE(input_location) |
| #define | input_filename LOCATION_FILE(input_location) |
| #define | INPUT_FILE_STACK_BITS 31 |
Typedefs | |
| typedef struct location_s | expanded_location |
| typedef struct location_s | location_t |
| typedef location_t * | source_locus |
Functions/Subroutines | |
| struct location_s | GTY (()) |
| void | push_srcloc (const char *name, int line) |
| void | pop_srcloc (void) |
| void | restore_input_file_stack (int) |
Variables | |
| struct line_maps | line_table |
| location_t | unknown_location |
| const char * | main_input_filename |
| location_t | input_location |
| struct file_stack * | input_file_stack |
| int | input_file_stack_tick |
| #define BUILTINS_LOCATION ((source_location) 2) |
| #define INPUT_FILE_STACK_BITS 31 |
| #define input_filename LOCATION_FILE(input_location) |
| #define input_line LOCATION_LINE(input_location) |
| #define UNKNOWN_LOCATION unknown_location |
| typedef struct location_s expanded_location |
| typedef struct location_s location_t |
| typedef location_t* source_locus |
Definition at line 2248 of file toplev.c.
References abort, free(), gcc_assert, INPUT_FILE_STACK_BITS, file_stack::line, file_stack::location, file_stack::name, file_stack::next, sorry(), U, and VEC_safe_push.
Referenced by cb_file_change(), cxx_init(), expand_call_inline(), fe_file_change(), and pushdecl_class_level().
| void push_srcloc | ( | const char * | name, | |
| int | line | |||
| ) |
Definition at line 991 of file toplev.c.
References gcc_assert, INPUT_FILE_STACK_BITS, input_filename, input_line, file_stack::location, file_stack::next, sorry(), U, VEC_safe_push, xmalloc(), and XNEW.
| void restore_input_file_stack | ( | int | ) |
Definition at line 1051 of file toplev.c.
References NULL, and VEC_index.
Referenced by cp_lexer_set_source_position_from_token().
Definition at line 100 of file fix-header.c.
| const char* main_input_filename |
1.5.6