From 1af05166d956526728db448cfe34a98ee0e74e8f Mon Sep 17 00:00:00 2001 From: Erik Verbruggen Date: Mon, 8 Feb 2010 15:32:37 +0100 Subject: Removed Q_DECLARE_FLAGS parsing, leaving it to the CPP to expand it. --- src/shared/cplusplus/CheckDeclaration.cpp | 9 --------- 1 file changed, 9 deletions(-) (limited to 'src/shared/cplusplus/CheckDeclaration.cpp') diff --git a/src/shared/cplusplus/CheckDeclaration.cpp b/src/shared/cplusplus/CheckDeclaration.cpp index 7ad7662af3..5d3646e324 100644 --- a/src/shared/cplusplus/CheckDeclaration.cpp +++ b/src/shared/cplusplus/CheckDeclaration.cpp @@ -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) -- cgit v1.2.1