Rename private member variables
This commit is contained in:
parent
2a495184d2
commit
a25461919c
|
@ -1401,7 +1401,7 @@ bool CheckUnusedVar::isRecordTypeWithoutSideEffects(const Type* type)
|
|||
// a type that has no side effects (no constructors and no members with constructors)
|
||||
/** @todo false negative: check constructors for side effects */
|
||||
|
||||
const std::pair<std::map<const Type *,bool>::iterator,bool> found=isRecordTypeWithoutSideEffectsMap.insert(
|
||||
const std::pair<std::map<const Type *,bool>::iterator,bool> found=mIsRecordTypeWithoutSideEffectsMap.insert(
|
||||
std::pair<const Type *,bool>(type,false)); //Initialize with side effects for possible recursions
|
||||
bool & withoutSideEffects=found.first->second;
|
||||
if (!found.second)
|
||||
|
@ -1427,7 +1427,7 @@ bool CheckUnusedVar::isEmptyType(const Type* type)
|
|||
{
|
||||
// a type that has no variables and no constructor
|
||||
|
||||
const std::pair<std::map<const Type *,bool>::iterator,bool> found=isEmptyTypeMap.insert(
|
||||
const std::pair<std::map<const Type *,bool>::iterator,bool> found=mIsEmptyTypeMap.insert(
|
||||
std::pair<const Type *,bool>(type,false));
|
||||
bool & emptyType=found.first->second;
|
||||
if (!found.second)
|
||||
|
|
|
@ -112,9 +112,9 @@ private:
|
|||
"- unused struct member\n";
|
||||
}
|
||||
|
||||
std::map<const Type *,bool> isRecordTypeWithoutSideEffectsMap;
|
||||
std::map<const Type *,bool> mIsRecordTypeWithoutSideEffectsMap;
|
||||
|
||||
std::map<const Type *,bool> isEmptyTypeMap;
|
||||
std::map<const Type *,bool> mIsEmptyTypeMap;
|
||||
|
||||
};
|
||||
/// @}
|
||||
|
|
Loading…
Reference in New Issue