forked from qt-creator/qt-creator
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>
This commit is contained in:
8
src/libs/3rdparty/cplusplus/Scope.h
vendored
8
src/libs/3rdparty/cplusplus/Scope.h
vendored
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user