aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/rust-gcc.h
diff options
context:
space:
mode:
authorOwen Avery <powerboat9.gamer@gmail.com>2023-07-10 19:39:02 -0400
committerCohenArthur <arthur.cohen@embecosm.com>2023-07-27 14:18:45 +0000
commitd62a388625d03c208082944e5cfff52ffa772eac (patch)
tree33c24d7e90a5edb3b8233c63e2457faa99354d2e /gcc/rust/rust-gcc.h
parentd76d64cb06e2627eeaf0d545a2dd51857f383f68 (diff)
downloadgcc-d62a388625d03c208082944e5cfff52ffa772eac.zip
gcc-d62a388625d03c208082944e5cfff52ffa772eac.tar.gz
gcc-d62a388625d03c208082944e5cfff52ffa772eac.tar.bz2
Replace Location with location_t in unnamed function parameters
gcc/rust/ChangeLog: * backend/rust-compile-base.h: Replace Location with location_t. * metadata/rust-imports.h: Likewise. * resolve/rust-name-resolver.cc: Likewise. * resolve/rust-name-resolver.h: Likewise. * rust-backend.h: Likewise. * rust-gcc.cc: Likewise. * rust-gcc.h: Likewise. Signed-off-by: Owen Avery <powerboat9.gamer@gmail.com>
Diffstat (limited to 'gcc/rust/rust-gcc.h')
-rw-r--r--gcc/rust/rust-gcc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/rust/rust-gcc.h b/gcc/rust/rust-gcc.h
index 3f8ba03..9799ad2 100644
--- a/gcc/rust/rust-gcc.h
+++ b/gcc/rust/rust-gcc.h
@@ -44,7 +44,7 @@ public:
Bvariable (tree t, tree orig_type) : t_ (t), orig_type_ (orig_type) {}
// Get the tree for use as an expression.
- tree get_tree (Location) const;
+ tree get_tree (location_t) const;
// Get the actual decl;
tree get_decl () const { return this->t_; }