Rename _enumerator to mEnumerator

This commit is contained in:
Daniel Marjamäki 2018-06-16 20:27:49 +02:00
parent 3ca8372b37
commit 7314fc7557
1 changed files with 3 additions and 3 deletions

View File

@ -726,7 +726,7 @@ public:
* @return a pointer to the Enumerator associated with this token. * @return a pointer to the Enumerator associated with this token.
*/ */
const Enumerator *enumerator() const { const Enumerator *enumerator() const {
return mTokType == eEnumerator ? _enumerator : nullptr; return mTokType == eEnumerator ? mEnumerator : nullptr;
} }
/** /**
@ -734,7 +734,7 @@ public:
* @param e Enumerator to be associated * @param e Enumerator to be associated
*/ */
void enumerator(const Enumerator *e) { void enumerator(const Enumerator *e) {
_enumerator = e; mEnumerator = e;
if (e) if (e)
tokType(eEnumerator); tokType(eEnumerator);
else if (mTokType == eEnumerator) else if (mTokType == eEnumerator)
@ -915,7 +915,7 @@ private:
const Function *mFunction; const Function *mFunction;
const Variable *mVariable; const Variable *mVariable;
const ::Type* mType; const ::Type* mType;
const Enumerator *_enumerator; const Enumerator *mEnumerator;
}; };
unsigned int mVarId; unsigned int mVarId;