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

Method untilHelperToEnd

test/testtokenrange.cpp:75–79  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

73 }
74
75 void untilHelperToEnd() const {
76 const char code[] = "void a(){} void main(){ if(true){a();} }";
77 const SimpleTokenList tokenList(code);
78 ASSERT_EQUALS("", testTokenRange(tokenList.front()->until(nullptr), tokenList.front(), nullptr));
79 }
80
81 void untilHelperPartWay() const {
82 const char code[] = "void a(){} void main(){ if(true){a();} }";

Callers

nothing calls this directly

Calls 2

untilMethod · 0.80
frontMethod · 0.80

Tested by

no test coverage detected