diff options
Diffstat (limited to 'gcc/rust/rust-linemap.cc')
-rw-r--r-- | gcc/rust/rust-linemap.cc | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/gcc/rust/rust-linemap.cc b/gcc/rust/rust-linemap.cc index 1dc50dc..2d8c14c 100644 --- a/gcc/rust/rust-linemap.cc +++ b/gcc/rust/rust-linemap.cc @@ -38,12 +38,6 @@ public: std::string to_string (Location); - std::string location_file (Location); - - int location_line (Location); - - int location_column (Location); - private: // Whether we are currently reading a file. bool in_file_; @@ -87,29 +81,6 @@ Gcc_linemap::to_string (Location location) return ss.str (); } -// Return the file name for a given location. - -std::string -Gcc_linemap::location_file (Location loc) -{ - return LOCATION_FILE (loc); -} - -// Return the line number for a given location. - -int -Gcc_linemap::location_line (Location loc) -{ - return LOCATION_LINE (loc); -} - -// Return the column number for a given location. -int -Gcc_linemap::location_column (Location loc) -{ - return LOCATION_COLUMN (loc); -} - // Stop getting locations. void |