forked from qt-creator/qt-creator
Refactored the AST visitors.
Now, the ASTVisitor constructor takes a valid reference to a TranslationUnit.
This commit is contained in:
@@ -39,7 +39,7 @@ namespace CPlusPlus {
|
||||
class CPLUSPLUS_EXPORT ASTParent: protected ASTVisitor
|
||||
{
|
||||
public:
|
||||
ASTParent(Control *control, AST *rootNode);
|
||||
ASTParent(TranslationUnit *transaltionUnit, AST *rootNode);
|
||||
virtual ~ASTParent();
|
||||
|
||||
AST *operator()(AST *ast) const;
|
||||
|
||||
Reference in New Issue
Block a user