summaryrefslogtreecommitdiff
path: root/src/shared/cplusplus/CheckDeclaration.h
diff options
context:
space:
mode:
authorErik Verbruggen <erik.verbruggen@nokia.com>2010-07-19 10:42:07 +0200
committerErik Verbruggen <erik.verbruggen@nokia.com>2010-07-19 10:42:32 +0200
commit867bf3dae8939bc221f54309256248f6f6e739fd (patch)
tree701eb57d652f2ee18d908b0fc69a1f0fcfc93e34 /src/shared/cplusplus/CheckDeclaration.h
parent7de836bf851b144ead33a5aea685ed92b9e928ea (diff)
downloadqt-creator-867bf3dae8939bc221f54309256248f6f6e739fd.tar.gz
Fixes for scope range calculation.
Diffstat (limited to 'src/shared/cplusplus/CheckDeclaration.h')
-rw-r--r--src/shared/cplusplus/CheckDeclaration.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/shared/cplusplus/CheckDeclaration.h b/src/shared/cplusplus/CheckDeclaration.h
index d9d8cb0170..acd71c557b 100644
--- a/src/shared/cplusplus/CheckDeclaration.h
+++ b/src/shared/cplusplus/CheckDeclaration.h
@@ -111,6 +111,9 @@ private:
void checkQEnumsQFlagsNames(NameListAST *nameListAst,
const char *declName);
+ unsigned calculateScopeStart(ObjCClassDeclarationAST *ast) const;
+ unsigned calculateScopeStart(ObjCProtocolDeclarationAST *ast) const;
+
private:
DeclarationAST *_declaration;
Scope *_scope;