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

Method checkP_

test/testcondition.cpp:158–167  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

156#define checkP(...) checkP_(__FILE__, __LINE__, __VA_ARGS__)
157 template<size_t size>
158 void checkP_(const char* file, int line, const char (&code)[size])
159 {
160 SimpleTokenizer2 tokenizer(settings2, *this, code, "test.cpp");
161
162 // Tokenizer..
163 ASSERT_LOC(tokenizer.simplifyTokens1(""), file, line);
164
165 CheckCondition check;
166 runChecks(check, tokenizer, *this);
167 }
168
169 void assignAndCompare() {
170 // &

Callers

nothing calls this directly

Calls 1

simplifyTokens1Method · 0.80

Tested by

no test coverage detected