summaryrefslogtreecommitdiff
path: root/src/shared/cplusplus/CheckDeclaration.h
diff options
context:
space:
mode:
authorRoberto Raggi <roberto.raggi@nokia.com>2009-06-25 11:02:02 +0200
committerRoberto Raggi <roberto.raggi@nokia.com>2009-06-25 12:48:55 +0200
commit27f92695cff70da2f6cb3effb5a8e12682bf3a37 (patch)
tree118502c10f127509c3450513c4c7085e94c94141 /src/shared/cplusplus/CheckDeclaration.h
parent44d8b28a9f444e7cd29a5575e7b2fdabcbad815f (diff)
downloadqt-creator-27f92695cff70da2f6cb3effb5a8e12682bf3a37.tar.gz
Initial work on smart highlight of local symbols. For-statements and symbols genarated from a macro expansion are not yet highlighted.
Diffstat (limited to 'src/shared/cplusplus/CheckDeclaration.h')
-rw-r--r--src/shared/cplusplus/CheckDeclaration.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/shared/cplusplus/CheckDeclaration.h b/src/shared/cplusplus/CheckDeclaration.h
index 0ba2568830..4abd859847 100644
--- a/src/shared/cplusplus/CheckDeclaration.h
+++ b/src/shared/cplusplus/CheckDeclaration.h
@@ -72,6 +72,8 @@ protected:
using ASTVisitor::visit;
+ unsigned locationOfDeclaratorId(DeclaratorAST *declarator) const;
+
virtual bool visit(SimpleDeclarationAST *ast);
virtual bool visit(EmptyDeclarationAST *ast);
virtual bool visit(AccessDeclarationAST *ast);