forked from qt-creator/qt-creator
		
	C++11: add support for static_assert.
Change-Id: I82d8d60acaa9265fd25e0a3734855b19bdef9c06 Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com>
This commit is contained in:
		@@ -1674,6 +1674,12 @@ bool FindUsages::visit(ParameterDeclarationAST *ast)
 | 
			
		||||
    return false;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
bool FindUsages::visit(StaticAssertDeclarationAST *ast)
 | 
			
		||||
{
 | 
			
		||||
    this->expression(ast->expression);
 | 
			
		||||
    return false;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
bool FindUsages::visit(TemplateDeclarationAST *ast)
 | 
			
		||||
{
 | 
			
		||||
    // unsigned export_token = ast->export_token;
 | 
			
		||||
 
 | 
			
		||||
@@ -236,6 +236,7 @@ protected:
 | 
			
		||||
    virtual bool visit(NamespaceAST *ast);
 | 
			
		||||
    virtual bool visit(NamespaceAliasDefinitionAST *ast);
 | 
			
		||||
    virtual bool visit(ParameterDeclarationAST *ast);
 | 
			
		||||
    virtual bool visit(StaticAssertDeclarationAST *ast);
 | 
			
		||||
    virtual bool visit(TemplateDeclarationAST *ast);
 | 
			
		||||
    virtual bool visit(TypenameTypeParameterAST *ast);
 | 
			
		||||
    virtual bool visit(TemplateTypeParameterAST *ast);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user