Renamed _simplify
This commit is contained in:
parent
b90d1bc020
commit
cb0bea1749
|
@ -54,7 +54,7 @@ static TimerResults S_timerResults;
|
|||
static const CWE CWE398(398U); // Indicator of Poor Code Quality
|
||||
|
||||
CppCheck::CppCheck(ErrorLogger &errorLogger, bool useGlobalSuppressions)
|
||||
: mErrorLogger(errorLogger), exitcode(0), mUseGlobalSuppressions(useGlobalSuppressions), tooManyConfigs(false), _simplify(true)
|
||||
: mErrorLogger(errorLogger), exitcode(0), mUseGlobalSuppressions(useGlobalSuppressions), tooManyConfigs(false), mSimplify(true)
|
||||
{
|
||||
}
|
||||
|
||||
|
@ -408,7 +408,7 @@ unsigned int CppCheck::checkFile(const std::string& filename, const std::string
|
|||
checkUnusedFunctions.parseTokens(mTokenizer, filename.c_str(), &mSettings);
|
||||
|
||||
// simplify more if required, skip rest of iteration if failed
|
||||
if (_simplify) {
|
||||
if (mSimplify) {
|
||||
// if further simplification fails then skip rest of iteration
|
||||
Timer timer3("Tokenizer::simplifyTokenList2", mSettings.showtime, &S_timerResults);
|
||||
result = mTokenizer.simplifyTokenList2();
|
||||
|
|
|
@ -126,7 +126,7 @@ public:
|
|||
void purgedConfigurationMessage(const std::string &file, const std::string& configuration);
|
||||
|
||||
void dontSimplify() {
|
||||
_simplify = false;
|
||||
mSimplify = false;
|
||||
}
|
||||
|
||||
/** Analyse whole program, run this after all TUs has been scanned.
|
||||
|
@ -221,7 +221,7 @@ private:
|
|||
bool tooManyConfigs;
|
||||
|
||||
/** Simplify code? true by default */
|
||||
bool _simplify;
|
||||
bool mSimplify;
|
||||
|
||||
/** File info used for whole program analysis */
|
||||
std::list<Check::FileInfo*> mFileInfo;
|
||||
|
|
Loading…
Reference in New Issue