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:
		| @@ -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); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user