aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/backend
diff options
context:
space:
mode:
authorOwen Avery <powerboat9.gamer@gmail.com>2023-07-08 22:28:30 -0400
committerPhilip Herron <philip.herron@embecosm.com>2023-07-11 10:24:34 +0000
commit6ba9a11eae9a30c3f66e41f9ff8604f65e3ecc6f (patch)
treee80f501fa71585ca99a4c1f78e7d94e5a80a3b21 /gcc/rust/backend
parent3016c44e535fe134d88c03ec3d61e3066e43180c (diff)
downloadgcc-6ba9a11eae9a30c3f66e41f9ff8604f65e3ecc6f.zip
gcc-6ba9a11eae9a30c3f66e41f9ff8604f65e3ecc6f.tar.gz
gcc-6ba9a11eae9a30c3f66e41f9ff8604f65e3ecc6f.tar.bz2
Merge Gcc_linemap into Linemap
gcc/rust/ChangeLog: * rust-linemap.cc (class Gcc_linemap): Remove. (Gcc_linemap::start_file): Move to... (Linemap::start_file): ... here. (Gcc_linemap::to_string): Move to... (Linemap::to_string): ... here. (Gcc_linemap::stop): Move to... (Linemap::stop): ... here. (Gcc_linemap::start_line): Move to... (Linemap::start_line): ... here. (Gcc_linemap::get_location): Move to... (Linemap::get_location): ... here. (rust_get_linemap): Use Linemap. * rust-linemap.h (Linemap::in_file_): New field from Gcc_linemap. (Linemap::Linemap): Initialize in_file_. (Linemap::~Linemap): Make non-virtual. (Linemap::start_file): Likewise. (Linemap::start_line): Likewise. (Linemap::get_location): Likewise. (Linemap::stop): Likewise. (Linemap::to_string): Likewise. Signed-off-by: Owen Avery <powerboat9.gamer@gmail.com>
Diffstat (limited to 'gcc/rust/backend')
0 files changed, 0 insertions, 0 deletions