Renamed member fileInfo to mFileInfo

This commit is contained in:
Daniel Marjamäki 2018-06-17 07:36:05 +02:00
parent c5e0576961
commit b90d1bc020
2 changed files with 4 additions and 4 deletions

View File

@ -60,7 +60,7 @@ CppCheck::CppCheck(ErrorLogger &errorLogger, bool useGlobalSuppressions)
CppCheck::~CppCheck()
{
while (!fileInfo.empty()) {
while (!mFileInfo.empty()) {
delete fileInfo.back();
fileInfo.pop_back();
}
@ -555,7 +555,7 @@ void CppCheck::checkNormalTokens(const Tokenizer &tokenizer)
for (std::list<Check *>::const_iterator it = Check::instances().begin(); it != Check::instances().end(); ++it) {
Check::FileInfo *fi = (*it)->getFileInfo(&tokenizer, &mSettings);
if (fi != nullptr) {
fileInfo.push_back(fi);
mFileInfo.push_back(fi);
mAnalyzerInformation.setFileInfo((*it)->name(), fi->toString());
}
}
@ -829,7 +829,7 @@ bool CppCheck::analyseWholeProgram()
bool errors = false;
// Analyse the tokens
for (std::list<Check *>::const_iterator it = Check::instances().begin(); it != Check::instances().end(); ++it)
errors |= (*it)->analyseWholeProgram(fileInfo, mSettings, *this);
errors |= (*it)->analyseWholeProgram(mFileInfo, mSettings, *this);
return errors && (exitcode > 0);
}

View File

@ -224,7 +224,7 @@ private:
bool _simplify;
/** File info used for whole program analysis */
std::list<Check::FileInfo*> fileInfo;
std::list<Check::FileInfo*> mFileInfo;
AnalyzerInformation mAnalyzerInformation;
};