diff options
author | Owen Avery <powerboat9.gamer@gmail.com> | 2023-07-10 16:13:59 -0400 |
---|---|---|
committer | Arthur Cohen <arthur.cohen@embecosm.com> | 2024-01-16 18:55:59 +0100 |
commit | e99e565e0aa866cdec407f851d651096fb190f7f (patch) | |
tree | af88fb6f68ad04e5626ac1f596222db5ffa13f21 /gcc/rust/hir/tree/rust-hir.h | |
parent | 80c68893f446bf883c67dd78c317b5c0f0f55f4f (diff) | |
download | gcc-e99e565e0aa866cdec407f851d651096fb190f7f.zip gcc-e99e565e0aa866cdec407f851d651096fb190f7f.tar.gz gcc-e99e565e0aa866cdec407f851d651096fb190f7f.tar.bz2 |
gccrs: Replace usages of Location with location_t in the lexer, AST, and HIR
gcc/rust/ChangeLog:
* ast/rust-ast-builder.h: Replace Location with location_t.
* ast/rust-ast.h: Likewise.
* ast/rust-expr.h: Likewise.
* ast/rust-item.h: Likewise.
* ast/rust-macro.h: Likewise.
* ast/rust-path.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.h: Likewise.
* lex/rust-lex.cc: Likewise.
* lex/rust-lex.h: Likewise.
Signed-off-by: Owen Avery <powerboat9.gamer@gmail.com>
Diffstat (limited to 'gcc/rust/hir/tree/rust-hir.h')
-rw-r--r-- | gcc/rust/hir/tree/rust-hir.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/rust/hir/tree/rust-hir.h b/gcc/rust/hir/tree/rust-hir.h index aac4b2d..76b6c73 100644 --- a/gcc/rust/hir/tree/rust-hir.h +++ b/gcc/rust/hir/tree/rust-hir.h @@ -814,7 +814,7 @@ public: const Analysis::NodeMapping &get_mappings () const { return mappings; } - virtual Location get_trait_locus () const = 0; + virtual location_t get_trait_locus () const = 0; virtual TraitItemKind get_item_kind () const = 0; |