Skip to content

Commit eb9576c

Browse files
committed
CLI: 'simple' rules are deprecated, support will be removed in Cppcheck-2.5
1 parent 66bfe2e commit eb9576c

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

lib/cppcheck.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -757,6 +757,8 @@ unsigned int CppCheck::checkFile(const std::string& filename, const std::string
757757

758758
// simplify more if required, skip rest of iteration if failed
759759
if (mSimplify && hasRule("simple")) {
760+
std::cout << "Handling of \"simple\" rules is deprecated and will be removed in Cppcheck 2.5." << std::endl;
761+
760762
// if further simplification fails then skip rest of iteration
761763
Timer timer3("Tokenizer::simplifyTokenList2", mSettings.showtime, &s_timerResults);
762764
result = mTokenizer.simplifyTokenList2();

0 commit comments

Comments
 (0)