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

Method check_

test/testbool.cpp:86–93  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

84#define check(...) check_(__FILE__, __LINE__, __VA_ARGS__)
85 template<size_t size>
86 void check_(const char* file, int line, const char (&code)[size], const CheckOptions& options = make_default_obj()) {
87 // Tokenize..
88 SimpleTokenizer tokenizer(settings, *this, options.cpp);
89 ASSERT_LOC(tokenizer.tokenize(code), file, line);
90
91 CheckBool check;
92 runChecks(check, tokenizer, *this);
93 }
94
95
96 void assignBoolToPointer() {

Callers

nothing calls this directly

Calls 2

make_default_objClass · 0.85
tokenizeMethod · 0.80

Tested by

no test coverage detected