diff options
author | Owen Avery <powerboat9.gamer@gmail.com> | 2023-07-10 15:56:31 -0400 |
---|---|---|
committer | Arthur Cohen <arthur.cohen@embecosm.com> | 2024-01-16 18:55:56 +0100 |
commit | df1da36415bb15919551f1b813443057263fc187 (patch) | |
tree | 13b5e3a55d14afcc6a3b24b20a77c6e093c2e761 /gcc/rust/lex/rust-token.h | |
parent | d991a3f15f64d3a16cce0866508bb76d87b9627c (diff) | |
download | gcc-df1da36415bb15919551f1b813443057263fc187.zip gcc-df1da36415bb15919551f1b813443057263fc187.tar.gz gcc-df1da36415bb15919551f1b813443057263fc187.tar.bz2 |
gccrs: Replace some more usages of Location with location_t
gcc/rust/ChangeLog:
* ast/rust-ast.h: Replace Location with location_t.
* ast/rust-expr.h: Likewise.
* ast/rust-item.h: Likewise.
* ast/rust-macro.h: Likewise.
* ast/rust-path.h: Likewise.
* ast/rust-pattern.h: Likewise.
* ast/rust-stmt.h: Likewise.
* ast/rust-type.h: Likewise.
* hir/rust-ast-lower-base.h: Likewise.
* hir/tree/rust-hir-expr.h: Likewise.
* hir/tree/rust-hir-item.h: Likewise.
* hir/tree/rust-hir-path.h: Likewise.
* hir/tree/rust-hir-pattern.h: Likewise.
* hir/tree/rust-hir-stmt.h: Likewise.
* hir/tree/rust-hir-type.h: Likewise.
* hir/tree/rust-hir.h: Likewise.
* lex/rust-token.h: Likewise.
* resolve/rust-ast-resolve-pattern.h: Likewise.
* typecheck/rust-hir-trait-reference.h: Likewise.
* typecheck/rust-tyty-bounds.h: Likewise.
* typecheck/rust-tyty-call.h: Likewise.
* typecheck/rust-tyty-subst.h: Likewise.
* typecheck/rust-tyty-util.h: Likewise.
* typecheck/rust-tyty.h: Likewise.
Signed-off-by: Owen Avery <powerboat9.gamer@gmail.com>
Diffstat (limited to 'gcc/rust/lex/rust-token.h')
-rw-r--r-- | gcc/rust/lex/rust-token.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/rust/lex/rust-token.h b/gcc/rust/lex/rust-token.h index 3d48610..1783b1e 100644 --- a/gcc/rust/lex/rust-token.h +++ b/gcc/rust/lex/rust-token.h @@ -384,7 +384,7 @@ public: TokenId get_id () const { return token_id; } // Gets location of the token. - Location get_locus () const { return locus; } + location_t get_locus () const { return locus; } // Set location of the token. void set_locus (location_t locus) { this->locus = locus; } |