summaryrefslogtreecommitdiff
path: root/src/shared/cplusplus/Scope.h
diff options
context:
space:
mode:
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 2ffd145af9..7ad6ecf232 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 ObjCProtocol Symbol.
+ bool isObjCProtocolScope() const;
+
/// Returns true if this scope's owner is an ObjCMethod symbol.
bool isObjCMethodScope() const;