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

Method isNotKnownValues

test/testvalueflow.cpp:5321–5326  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5319 }
5320
5321 bool isNotKnownValues(const char code[], const char str[]) {
5322 const auto& values = tokenValues(code, str);
5323 return std::none_of(values.cbegin(), values.cend(), [](const ValueFlow::Value& v) {
5324 return v.isKnown();
5325 });
5326 }
5327
5328 void knownValue() {
5329 const char *code;

Callers

nothing calls this directly

Calls 1

isKnownMethod · 0.80

Tested by

no test coverage detected