summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErick Ochoa <erick.ochoa@theobroma-systems.com>2020-06-04 08:29:22 +0200
committerErick Ochoa <erick.ochoa@theobroma-systems.com>2020-06-04 08:29:22 +0200
commit6a16af5b4cb9501137081f5f3c50616b9f49c4ee (patch)
treed5f0cde0ecaa4a64ec87cf5e08b28794cc875041
parent0550cc23f21dea0517d0a2164a2a65683d058e5b (diff)
Fix order
-rw-r--r--gcc/type-walker.hpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/gcc/type-walker.hpp b/gcc/type-walker.hpp
index 0f775d170e8..2484843d135 100644
--- a/gcc/type-walker.hpp
+++ b/gcc/type-walker.hpp
@@ -3,8 +3,13 @@
#include <set>
class TypeWalker {
+public:
+ TypeWalker() {};
+ void walk(const_tree t);
+
protected:
typedef std::set<const_tree> tset_t;
+
private:
tset_t tset;
@@ -90,8 +95,5 @@ private:
void walk_method(const_tree t, tset_t &tset);
void _walk_method(const_tree t, tset_t &tset);
virtual void _walk_method_post(const_tree t) {};
-public:
- void walk(const_tree t);
- TypeWalker() {};
};