diff --git a/lib/checkfunctions.cpp b/lib/checkfunctions.cpp index 9a53f24b3..d441b6a6b 100644 --- a/lib/checkfunctions.cpp +++ b/lib/checkfunctions.cpp @@ -547,7 +547,7 @@ void CheckFunctions::checkLibraryMatchFunctions() // details: https://en.cppreference.com/w/cpp/language/copy_elision void CheckFunctions::returnLocalStdMove() { - if(!mTokenizer->isCPP() || mSettings->standards.cpp < Standards::CPP11) + if (!mTokenizer->isCPP() || mSettings->standards.cpp < Standards::CPP11) return; if (!mSettings->severity.isEnabled(Severity::performance)) diff --git a/lib/settings.h b/lib/settings.h index 682a7932d..2cfc2d60f 100644 --- a/lib/settings.h +++ b/lib/settings.h @@ -114,7 +114,7 @@ public: /** Filename for bug hunting report */ std::string bugHuntingReport; - /** @brief --cppcheck-build-dir */ + /** @brief --cppcheck-build-dir. Always uses / as path separator. No trailing path separator. */ std::string buildDir; /** @brief check all configurations (false if -D or --max-configs is used */