From 5723682b218b1de51a966df269c3ccefd9dfcb22 Mon Sep 17 00:00:00 2001 From: Erik Verbruggen Date: Tue, 29 Dec 2009 18:19:35 +0100 Subject: Fixes for highlighting locals in Objective-C methods. --- src/shared/cplusplus/Scope.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/shared/cplusplus/Scope.h') 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); -- cgit v1.2.1