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

Method checkP_

test/testother.cpp:381–389  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

379#define checkP(...) checkP_(__FILE__, __LINE__, __VA_ARGS__)
380 template<size_t size>
381 void checkP_(const char* file, int line, const char (&code)[size], const CheckPOptions& options = make_default_obj()) {
382 SimpleTokenizer2 tokenizer(settings2, *this, code, options.cpp ? "test.cpp" : "test.c");
383
384 // Tokenizer..
385 ASSERT_LOC(tokenizer.simplifyTokens1(""), file, line);
386
387 CheckOther check;
388 runChecks(check, tokenizer, *this);
389 }
390
391 template<size_t size>
392 void checkInterlockedDecrement(const char (&code)[size]) {

Callers

nothing calls this directly

Calls 2

make_default_objClass · 0.85
simplifyTokens1Method · 0.80

Tested by

no test coverage detected