diff options
author | Erik Verbruggen <erik.verbruggen@nokia.com> | 2010-02-08 15:32:37 +0100 |
---|---|---|
committer | Erik Verbruggen <erik.verbruggen@nokia.com> | 2010-02-08 15:41:18 +0100 |
commit | 1af05166d956526728db448cfe34a98ee0e74e8f (patch) | |
tree | 39aabcd58c060040fe413d4b02ac1250f40a2c72 /src/shared/cplusplus/CheckDeclaration.cpp | |
parent | bd1b9e6ccb3fb9c1e02df6644e2e50e4e0c5e5ee (diff) | |
download | qt-creator-1af05166d956526728db448cfe34a98ee0e74e8f.tar.gz |
Removed Q_DECLARE_FLAGS parsing, leaving it to the CPP to expand it.
Diffstat (limited to 'src/shared/cplusplus/CheckDeclaration.cpp')
-rw-r--r-- | src/shared/cplusplus/CheckDeclaration.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
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) |