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:
@@ -41,7 +41,7 @@ using namespace CPlusPlus;
|
||||
|
||||
|
||||
CheckUndefinedSymbols::CheckUndefinedSymbols(Document::Ptr doc)
|
||||
: ASTVisitor(doc->control()), _doc(doc)
|
||||
: ASTVisitor(doc->translationUnit()), _doc(doc)
|
||||
{ }
|
||||
|
||||
CheckUndefinedSymbols::~CheckUndefinedSymbols()
|
||||
|
Reference in New Issue
Block a user