diff options
author | Roberto Raggi <roberto.raggi@nokia.com> | 2009-11-17 13:28:20 +0100 |
---|---|---|
committer | Roberto Raggi <roberto.raggi@nokia.com> | 2009-11-17 13:30:39 +0100 |
commit | 5d7def6d2ad8be72f4b6e1255a779209dbe90ff8 (patch) | |
tree | 6f7104a1b1a902b99e2492a4840cc7a84117c71e /src/shared/cplusplus/SemanticCheck.cpp | |
parent | 04a333bac68f9c6aac2338f2dd407b25e321223f (diff) | |
download | qt-creator-5d7def6d2ad8be72f4b6e1255a779209dbe90ff8.tar.gz |
Refactored the AST visitors.
Now, the ASTVisitor constructor takes a valid reference to a TranslationUnit.
Diffstat (limited to 'src/shared/cplusplus/SemanticCheck.cpp')
-rw-r--r-- | src/shared/cplusplus/SemanticCheck.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/cplusplus/SemanticCheck.cpp b/src/shared/cplusplus/SemanticCheck.cpp index 1feffd93aa..b28c01636b 100644 --- a/src/shared/cplusplus/SemanticCheck.cpp +++ b/src/shared/cplusplus/SemanticCheck.cpp @@ -52,7 +52,7 @@ using namespace CPlusPlus; SemanticCheck::SemanticCheck(Semantic *semantic) - : ASTVisitor(semantic->control()), + : ASTVisitor(semantic->translationUnit()), _semantic(semantic) { } |