aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/rust-gcc.cc
diff options
context:
space:
mode:
authorPhilip Herron <philip.herron@embecosm.com>2022-02-11 10:11:25 +0000
committerPhilip Herron <philip.herron@embecosm.com>2022-02-11 10:11:25 +0000
commitd21ae240496a48628cf1beafcc192760ebe1be89 (patch)
tree699195b8041ca3d59bb5a2a45941aca39562585a /gcc/rust/rust-gcc.cc
parentdf2dbbc0343afcca95d515d8843612b0334bc17b (diff)
downloadgcc-d21ae240496a48628cf1beafcc192760ebe1be89.zip
gcc-d21ae240496a48628cf1beafcc192760ebe1be89.tar.gz
gcc-d21ae240496a48628cf1beafcc192760ebe1be89.tar.bz2
Cleanup header usage and remove void_type wrapper
Diffstat (limited to 'gcc/rust/rust-gcc.cc')
-rw-r--r--gcc/rust/rust-gcc.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/gcc/rust/rust-gcc.cc b/gcc/rust/rust-gcc.cc
index b052ce2..cc5f4a90 100644
--- a/gcc/rust/rust-gcc.cc
+++ b/gcc/rust/rust-gcc.cc
@@ -117,8 +117,6 @@ public:
// Types.
- tree void_type () { return void_type_node; }
-
tree unit_type ()
{
static tree unit_type;