summaryrefslogtreecommitdiff
path: root/src/shared/cplusplus/Semantic.h
diff options
context:
space:
mode:
authorRoberto Raggi <roberto.raggi@nokia.com>2009-11-17 13:28:20 +0100
committerRoberto Raggi <roberto.raggi@nokia.com>2009-11-17 13:30:39 +0100
commit5d7def6d2ad8be72f4b6e1255a779209dbe90ff8 (patch)
tree6f7104a1b1a902b99e2492a4840cc7a84117c71e /src/shared/cplusplus/Semantic.h
parent04a333bac68f9c6aac2338f2dd407b25e321223f (diff)
downloadqt-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.h3
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);