diff options
Diffstat (limited to 'gcc/rust/rust-location.h')
-rw-r--r-- | gcc/rust/rust-location.h | 22 |
1 files changed, 1 insertions, 21 deletions
diff --git a/gcc/rust/rust-location.h b/gcc/rust/rust-location.h index 1944bb7..ae38b2b 100644 --- a/gcc/rust/rust-location.h +++ b/gcc/rust/rust-location.h @@ -31,26 +31,6 @@ typedef location_t Location; -class RichLocation -{ -public: - RichLocation (Location root); - ~RichLocation (); - - void add_range (Location loc); - - void add_fixit_insert_before (const std::string &new_parent); - - void add_fixit_insert_before (Location where, const std::string &new_parent); - - void add_fixit_insert_after (const std::string &new_parent); - - void add_fixit_insert_after (Location where, const std::string &new_parent); - - const rich_location &get () const { return gcc_rich_loc; } - -private: - rich_location gcc_rich_loc; -}; +typedef rich_location RichLocation; #endif // !defined(RUST_LOCATION_H) |