diff options
author | Owen Avery <powerboat9.gamer@gmail.com> | 2023-07-10 16:06:27 -0400 |
---|---|---|
committer | Arthur Cohen <arthur.cohen@embecosm.com> | 2024-01-16 18:55:59 +0100 |
commit | dd15fff38562ab8c3160190366f1e755c033425b (patch) | |
tree | a0e1d0a8c8f483df5d1fdb88c555f18628ffa654 /gcc/rust/backend/rust-compile-base.h | |
parent | e99e565e0aa866cdec407f851d651096fb190f7f (diff) | |
download | gcc-dd15fff38562ab8c3160190366f1e755c033425b.zip gcc-dd15fff38562ab8c3160190366f1e755c033425b.tar.gz gcc-dd15fff38562ab8c3160190366f1e755c033425b.tar.bz2 |
gccrs: Continue to replace usages of Location with location_t
gcc/rust/ChangeLog:
* backend/rust-compile-base.cc: Replace Location with location_t.
* backend/rust-compile-base.h: Likewise.
* backend/rust-compile-expr.cc: Likewise.
* lex/rust-token.h: Likewise.
* metadata/rust-import-archive.cc: Likewise.
* metadata/rust-imports.cc: Likewise.
* metadata/rust-imports.h: Likewise.
* rust-backend.h: Likewise.
* rust-diagnostics.cc: Likewise.
* rust-diagnostics.h: Likewise.
* rust-gcc.cc: Likewise.
* rust-linemap.cc: Likewise.
* util/rust-token-converter.cc: Likewise.
Signed-off-by: Owen Avery <powerboat9.gamer@gmail.com>
Diffstat (limited to 'gcc/rust/backend/rust-compile-base.h')
-rw-r--r-- | gcc/rust/backend/rust-compile-base.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/rust/backend/rust-compile-base.h b/gcc/rust/backend/rust-compile-base.h index 086c0c3..d355446 100644 --- a/gcc/rust/backend/rust-compile-base.h +++ b/gcc/rust/backend/rust-compile-base.h @@ -139,7 +139,7 @@ protected: static tree named_constant_expression (tree type_tree, const std::string &name, - tree const_val, Location location); + tree const_val, location_t location); }; } // namespace Compile |