diff options
author | Owen Avery <powerboat9.gamer@gmail.com> | 2023-07-10 20:15:19 -0400 |
---|---|---|
committer | Arthur Cohen <arthur.cohen@embecosm.com> | 2024-01-16 18:56:03 +0100 |
commit | 886d56d0c54ec73cabae64558f63e7963c9bb90a (patch) | |
tree | c58028f0592ddf234687b68796bc8436a8015118 /gcc/rust/rust-location.h | |
parent | 9cc353d75ab97a4461c707d504e595fc3a8e2ecc (diff) | |
download | gcc-886d56d0c54ec73cabae64558f63e7963c9bb90a.zip gcc-886d56d0c54ec73cabae64558f63e7963c9bb90a.tar.gz gcc-886d56d0c54ec73cabae64558f63e7963c9bb90a.tar.bz2 |
gccrs: Remove Location typedef
gcc/rust/ChangeLog:
* rust-location.h (typedef Location): Remove.
* expand/rust-proc-macro.cc
(register_callback): Replace Location constructor with UNDEF_LOCATION.
* ast/rust-ast-collector.h: Replace Location with location_t.
* checks/errors/privacy/rust-privacy-reporter.cc: Likewise.
* checks/errors/privacy/rust-privacy-reporter.h: Likewise.
* checks/errors/privacy/rust-pub-restricted-visitor.cc: Likewise.
* checks/errors/privacy/rust-pub-restricted-visitor.h: Likewise.
* checks/errors/rust-feature-gate.cc: Likewise.
* checks/errors/rust-feature-gate.h: Likewise.
* metadata/rust-imports.h: Likewise.
* resolve/rust-ast-resolve-path.h: Likewise.
* resolve/rust-name-resolver.h: Likewise.
* rust-backend.h: Likewise.
* rust-diagnostics.h: Likewise.
* rust-gcc.cc: Likewise.
* rust-linemap.h: Likewise.
* util/rust-attributes.cc: Likewise.
* util/rust-hir-map.cc: Likewise.
* util/rust-hir-map.h: Likewise.
* util/rust-token-converter.cc: Likewise.
Signed-off-by: Owen Avery <powerboat9.gamer@gmail.com>
Diffstat (limited to 'gcc/rust/rust-location.h')
-rw-r--r-- | gcc/rust/rust-location.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/gcc/rust/rust-location.h b/gcc/rust/rust-location.h index 0b94d7b..db756dd 100644 --- a/gcc/rust/rust-location.h +++ b/gcc/rust/rust-location.h @@ -29,6 +29,4 @@ // Used to replace Location default constructor #define UNDEF_LOCATION UNKNOWN_LOCATION -typedef location_t Location; - #endif // !defined(RUST_LOCATION_H) |