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:
@@ -52,7 +52,7 @@
|
||||
using namespace CPlusPlus;
|
||||
|
||||
SemanticCheck::SemanticCheck(Semantic *semantic)
|
||||
: ASTVisitor(semantic->control()),
|
||||
: ASTVisitor(semantic->translationUnit()),
|
||||
_semantic(semantic)
|
||||
{ }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user