You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if (enable_arg.find("information") != std::string::npos) {
578
+
if (enable_arg.find("information") != std::string::npos && logMissingInclude == 0) {
579
+
++logMissingInclude;
574
580
mSettings.addEnabled("missingInclude");
575
-
mLogger.printMessage("'--enable=information' will no longer implicitly enable 'missingInclude' starting with 2.16. Please enable it explicitly if you require it.");
581
+
}
582
+
if (enable_arg.find("missingInclude") != std::string::npos) {
mLogger.printMessage("'--enable=information' will no longer implicitly enable 'missingInclude' starting with 2.16. Please enable it explicitly if you require it.");
ASSERT_EQUALS("cppcheck: '--enable=information' will no longer implicitly enable 'missingInclude' starting with 2.16. Please enable it explicitly if you require it.\n", logger->str());
0 commit comments