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

Function simpleMatch

lib/token.h:304–306  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

302 */
303 template<size_t count>
304 static bool simpleMatch(const Token *tok, const char (&pattern)[count]) {
305 return simpleMatch(tok, pattern, count-1);
306 }
307
308 static bool simpleMatch(const Token *tok, const char pattern[], size_t pattern_len);
309

Callers 15

isUnchangedFunction · 0.70
hasGccCompoundStatementFunction · 0.70
hasVolatileCastOrVarFunction · 0.70
checkRecursiveMethod · 0.70
fwdanalysis.cppFile · 0.70
unusedValueMethod · 0.70
possiblyAliasedMethod · 0.70
isNullablePointerFunction · 0.70
createMethod · 0.70
getOverrunIndexValuesFunction · 0.70
arrayIndexMethod · 0.70

Calls

no outgoing calls

Tested by 15

testValueOfX_Method · 0.40
testLifetimeOfX_Method · 0.40
findTokenMethod · 0.40
isVariableAlignasMethod · 0.40
memberVar1Method · 0.40
arrayMemberVar1Method · 0.40
arrayMemberVar2Method · 0.40
arrayMemberVar3Method · 0.40
arrayMemberVar4Method · 0.40
findFunction1Method · 0.40
findFunction55Method · 0.40
typeOf_Method · 0.40