summaryrefslogtreecommitdiff
path: root/src/shared/cplusplus/Scope.h
diff options
context:
space:
mode:
authorErik Verbruggen <erik.verbruggen@nokia.com>2009-12-29 18:19:35 +0100
committerErik Verbruggen <erik.verbruggen@nokia.com>2010-01-06 17:39:35 +0100
commit5723682b218b1de51a966df269c3ccefd9dfcb22 (patch)
treed52bf27aebe8a9a2f2ed7e61d739cb9cb41cc707 /src/shared/cplusplus/Scope.h
parent7c0f4e8f506fbf706a642e91143881f22d7ed55a (diff)
downloadqt-creator-5723682b218b1de51a966df269c3ccefd9dfcb22.tar.gz
Fixes for highlighting locals in Objective-C methods.
Diffstat (limited to 'src/shared/cplusplus/Scope.h')
-rw-r--r--src/shared/cplusplus/Scope.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/shared/cplusplus/Scope.h b/src/shared/cplusplus/Scope.h
index a31b6459be..25df03a25e 100644
--- a/src/shared/cplusplus/Scope.h
+++ b/src/shared/cplusplus/Scope.h
@@ -114,6 +114,9 @@ public:
/// Returns true if this scope's owner is an ObjCClass Symbol.
bool isObjCClassScope() const;
+ /// Returns true if this scope's owner is an ObjCMethod symbol.
+ bool isObjCMethodScope() const;
+
/// Adds a Symbol to this Scope.
void enterSymbol(Symbol *symbol);