Removed Q_DECLARE_FLAGS parsing, leaving it to the CPP to expand it.

This commit is contained in:
Erik Verbruggen
2010-02-08 15:32:37 +01:00
parent bd1b9e6ccb
commit 1af05166d9
19 changed files with 6 additions and 199 deletions

View File

@@ -802,15 +802,6 @@ bool CheckDeclaration::visit(ObjCPropertyDeclarationAST *ast)
return false;
}
bool CheckDeclaration::visit(QtDeclareFlagsDeclarationAST *ast)
{
if (ast->flags_name)
semantic()->check(ast->flags_name, _scope);
if (ast->enum_name)
semantic()->check(ast->enum_name, _scope);
return false;
}
bool CheckDeclaration::visit(QtEnumDeclarationAST *ast)
{
for (NameListAST *iter = ast->enumerator_list; iter; iter = iter->next)