Replace symbol_symtab with symbol::symtab

This turns symbol_symtab into a method on symbol.  It also replaces
symbol_set_symtab with a method.
This commit is contained in:
Tom Tromey
2022-04-17 20:00:59 -06:00
parent bcd6845e2b
commit 4206d69e96
20 changed files with 76 additions and 76 deletions

View File

@@ -57,7 +57,7 @@ convert_one_symbol (compile_c_instance *context,
int is_local)
{
gcc_type sym_type;
const char *filename = symbol_symtab (sym.symbol)->filename;
const char *filename = sym.symbol->symtab ()->filename;
unsigned short line = sym.symbol->line ();
context->error_symbol_once (sym.symbol);