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

Function create_settings

oss-fuzz/main.cpp:49–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

47};
48
49static Settings create_settings()
50{
51 // TODO: load std.cfg
52 Settings s;
53 s.templateFormat = "{bold}{file}:{line}:{column}: {red}{inconclusive:{magenta}}{severity}:{inconclusive: inconclusive:}{default} {message} [{id}]{reset}\\n{code}";
54 s.templateLocation = "{bold}{file}:{line}:{column}: {dim}note:{reset} {info}\\n{code}";
55 s.addEnabled("all");
56 s.certainty.setEnabled(Certainty::inconclusive, true);
57 return s;
58}
59static const Settings s_settings = create_settings();
60static DummyErrorLogger s_errorLogger;
61static const FileWithDetails s_file("test.cpp", Standards::Language::CPP, 0);

Callers 1

main.cppFile · 0.85

Calls 2

addEnabledMethod · 0.80
setEnabledMethod · 0.80

Tested by

no test coverage detected