MCPcopy Create free account
hub / github.com/cppcheck-opensource/cppcheck / debugwarnings

Method debugwarnings

test/testcmdlineparser.cpp:735–740  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

733 }
734
735 void debugwarnings() {
736 REDIRECT;
737 const char * const argv[] = {"cppcheck", "--debug-warnings", "file.cpp"};
738 ASSERT_EQUALS_ENUM(CmdLineParser::Result::Success, parseFromArgs(argv));
739 ASSERT_EQUALS(true, settings->debugwarnings);
740 }
741
742 void forceshort() {
743 REDIRECT;

Callers 12

bailout_Method · 0.80
tok_Method · 0.80
checkSimplifyTypedef_Method · 0.80
TestSymbolDatabaseClass · 0.80
check_Method · 0.80
TestTokenizerClass · 0.80
TestGarbageClass · 0.80
tok_Method · 0.80
qualifiedNameMemberMethod · 0.80
tokenizeAndStringify_Method · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected