diff options
author | Philip Herron <philip.herron@embecosm.com> | 2022-08-17 12:12:36 +0100 |
---|---|---|
committer | Philip Herron <philip.herron@embecosm.com> | 2022-08-17 13:01:13 +0100 |
commit | 73e79179486b21b13fd8dcc138f84398ca0306e4 (patch) | |
tree | 32a8727145460104e05c00f65b0c06f262c6179c /gcc/rust/backend/rust-compile-item.h | |
parent | 4f039ff9f6f18d15e32ddb54e3a6124802c45b7f (diff) | |
download | gcc-73e79179486b21b13fd8dcc138f84398ca0306e4.zip gcc-73e79179486b21b13fd8dcc138f84398ca0306e4.tar.gz gcc-73e79179486b21b13fd8dcc138f84398ca0306e4.tar.bz2 |
Refactor backend to use finegrained visitors
This also moves more code out of the headers to their associated impl files
to improve compilation times and code navigation.
Diffstat (limited to 'gcc/rust/backend/rust-compile-item.h')
-rw-r--r-- | gcc/rust/backend/rust-compile-item.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/rust/backend/rust-compile-item.h b/gcc/rust/backend/rust-compile-item.h index 63316b9..3c12f10 100644 --- a/gcc/rust/backend/rust-compile-item.h +++ b/gcc/rust/backend/rust-compile-item.h @@ -24,7 +24,7 @@ namespace Rust { namespace Compile { -class CompileItem : public HIRCompileBase, public HIR::HIRStmtVisitor +class CompileItem : private HIRCompileBase, protected HIR::HIRStmtVisitor { protected: public: |