Clarify Settings::buildDir

This commit is contained in:
Daniel Marjamäki 2021-07-06 12:18:03 +02:00
parent 6b8d0be431
commit f3365a874f
2 changed files with 2 additions and 2 deletions

View File

@ -547,7 +547,7 @@ void CheckFunctions::checkLibraryMatchFunctions()
// details: https://en.cppreference.com/w/cpp/language/copy_elision // details: https://en.cppreference.com/w/cpp/language/copy_elision
void CheckFunctions::returnLocalStdMove() void CheckFunctions::returnLocalStdMove()
{ {
if(!mTokenizer->isCPP() || mSettings->standards.cpp < Standards::CPP11) if (!mTokenizer->isCPP() || mSettings->standards.cpp < Standards::CPP11)
return; return;
if (!mSettings->severity.isEnabled(Severity::performance)) if (!mSettings->severity.isEnabled(Severity::performance))

View File

@ -114,7 +114,7 @@ public:
/** Filename for bug hunting report */ /** Filename for bug hunting report */
std::string bugHuntingReport; std::string bugHuntingReport;
/** @brief --cppcheck-build-dir */ /** @brief --cppcheck-build-dir. Always uses / as path separator. No trailing path separator. */
std::string buildDir; std::string buildDir;
/** @brief check all configurations (false if -D or --max-configs is used */ /** @brief check all configurations (false if -D or --max-configs is used */