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/Semantic.h | |
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/Semantic.h')
-rw-r--r-- | src/shared/cplusplus/Semantic.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/shared/cplusplus/Semantic.h b/src/shared/cplusplus/Semantic.h index 391872d847..4a2ebfc2fb 100644 --- a/src/shared/cplusplus/Semantic.h +++ b/src/shared/cplusplus/Semantic.h @@ -61,9 +61,10 @@ class CPLUSPLUS_EXPORT Semantic void operator =(const Semantic &other); public: - Semantic(Control *control); + Semantic(TranslationUnit *translationUnit); virtual ~Semantic(); + TranslationUnit *translationUnit() const; Control *control() const; FullySpecifiedType check(SpecifierListAST *specifier, Scope *scope); |