diff options
author | Nikolai Kosjar <nikolai.kosjar@theqtcompany.com> | 2015-01-13 17:29:34 +0100 |
---|---|---|
committer | Nikolai Kosjar <nikolai.kosjar@theqtcompany.com> | 2015-01-14 12:29:37 +0100 |
commit | 845cb2e432c73712d27a96dc3765a539b13a195f (patch) | |
tree | 817fe4c20c54cd4a91fd052eb7e03c12469f704b /src/libs/3rdparty/cplusplus/Scope.h | |
parent | d9c70f43d97a035a951c9e504e5c56259dfdacdb (diff) |
C++: Better names for Scope's iterators
Scope::lastMember() was misleading.
Change-Id: I953d489b8a2a9b86321f73cad3b7b371c4acf91f
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Reviewed-by: Przemyslaw Gorszkowski <pgorszkowski@gmail.com>
Diffstat (limited to 'src/libs/3rdparty/cplusplus/Scope.h')
-rw-r--r-- | src/libs/3rdparty/cplusplus/Scope.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/libs/3rdparty/cplusplus/Scope.h b/src/libs/3rdparty/cplusplus/Scope.h index 73276d3b44..142138698e 100644 --- a/src/libs/3rdparty/cplusplus/Scope.h +++ b/src/libs/3rdparty/cplusplus/Scope.h @@ -48,11 +48,11 @@ public: typedef Symbol **iterator; - /// Returns the first Symbol in the scope. - iterator firstMember() const; + /// Returns member iterator to the beginning. + iterator memberBegin() const; - /// Returns the last Symbol in the scope. - iterator lastMember() const; + /// Returns member iterator to the end. + iterator memberEnd() const; Symbol *find(const Identifier *id) const; Symbol *find(OperatorNameId::Kind operatorId) const; |