diff options
author | Philip Herron <philip.herron@embecosm.com> | 2022-02-11 10:11:25 +0000 |
---|---|---|
committer | Philip Herron <philip.herron@embecosm.com> | 2022-02-11 10:11:25 +0000 |
commit | d21ae240496a48628cf1beafcc192760ebe1be89 (patch) | |
tree | 699195b8041ca3d59bb5a2a45941aca39562585a /gcc/rust/rust-backend.h | |
parent | df2dbbc0343afcca95d515d8843612b0334bc17b (diff) | |
download | gcc-d21ae240496a48628cf1beafcc192760ebe1be89.zip gcc-d21ae240496a48628cf1beafcc192760ebe1be89.tar.gz gcc-d21ae240496a48628cf1beafcc192760ebe1be89.tar.bz2 |
Cleanup header usage and remove void_type wrapper
Diffstat (limited to 'gcc/rust/rust-backend.h')
-rw-r--r-- | gcc/rust/rust-backend.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/gcc/rust/rust-backend.h b/gcc/rust/rust-backend.h index c228f6b..56e15a3 100644 --- a/gcc/rust/rust-backend.h +++ b/gcc/rust/rust-backend.h @@ -29,12 +29,6 @@ #include "operator.h" #include "tree.h" -extern bool -saw_errors (void); - -// TODO: Will have to be significantly modified to work with Rust and current -// setup of gccrs - // Pointers to these types are created by the backend, passed to the // frontend, and passed back to the backend. The types must be // defined by the backend using these names. @@ -76,11 +70,6 @@ public: // Types. - // Get a void type. This is used in (at least) two ways: 1) as the - // return type of a function with no result parameters; 2) - // unsafe.Pointer is represented as *void. - virtual tree void_type () = 0; - // get unit-type virtual tree unit_type () = 0; |