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

Method defines

test/testcmdlineparser.cpp:828–833  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

826 }
827
828 void defines() {
829 REDIRECT;
830 const char * const argv[] = {"cppcheck", "-D_WIN32", "file.cpp"};
831 ASSERT_EQUALS_ENUM(CmdLineParser::Result::Success, parseFromArgs(argv));
832 ASSERT_EQUALS("_WIN32=1", settings->userDefines);
833 }
834
835 void defines2() {
836 REDIRECT;

Callers 3

getConfigsMethod · 0.80
createDUIFunction · 0.80
loadLibCombinationsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected