SymbolDatabase: rename _index
This commit is contained in:
parent
79ffe1d4fc
commit
7dfd4f61a1
|
@ -2622,7 +2622,7 @@ void SymbolDatabase::printVariable(const Variable *var, const char *indent) cons
|
|||
std::cout << indent << " " << valueType->str() << std::endl;
|
||||
}
|
||||
}
|
||||
std::cout << indent << "_index: " << var->index() << std::endl;
|
||||
std::cout << indent << "mIndex: " << var->index() << std::endl;
|
||||
std::cout << indent << "_access: " <<
|
||||
(var->isPublic() ? "Public" :
|
||||
var->isProtected() ? "Protected" :
|
||||
|
|
|
@ -225,7 +225,7 @@ public:
|
|||
: mNameToken(name_),
|
||||
mTypeStartToken(start_),
|
||||
mTypeEndToken(end_),
|
||||
_index(index_),
|
||||
mIndex(index_),
|
||||
_access(access_),
|
||||
_flags(0),
|
||||
_constness(0),
|
||||
|
@ -304,7 +304,7 @@ public:
|
|||
* @return variable index
|
||||
*/
|
||||
std::size_t index() const {
|
||||
return _index;
|
||||
return mIndex;
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -625,7 +625,7 @@ private:
|
|||
const Token *mTypeEndToken;
|
||||
|
||||
/** @brief order declared */
|
||||
std::size_t _index;
|
||||
std::size_t mIndex;
|
||||
|
||||
/** @brief what section is this variable declared in? */
|
||||
AccessControl _access; // public/protected/private
|
||||
|
|
Loading…
Reference in New Issue