Simplify V3SenTree.h. No functional change intended.

- Remove unused headers
- Simplify container functors
- SenTreeFinder need not be a Visitor
- Update comments

Line coverage should now be 100%
This commit is contained in:
Geza Lore
2020-06-06 17:30:32 +01:00
parent 4862916f39
commit dea0e6793f
3 changed files with 31 additions and 71 deletions
+1 -1
View File
@@ -54,7 +54,7 @@ private:
// VISITORS
virtual void visit(AstTopScope* nodep) VL_OVERRIDE {
m_topscopep = nodep;
m_finder.main(m_topscopep);
m_finder.init(m_topscopep);
iterateChildren(nodep);
m_topscopep = NULL;
}