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

Function isCPPCastKeyword

lib/astutils.cpp:2488–2493  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2486}
2487
2488static bool isCPPCastKeyword(const Token* tok)
2489{
2490 if (!tok)
2491 return false;
2492 return endsWith(tok->str(), "_cast");
2493}
2494
2495static bool isTrivialConstructor(const Token* tok)
2496{

Callers 2

isCPPCastFunction · 0.85

Calls 2

endsWithFunction · 0.70
strMethod · 0.45

Tested by

no test coverage detected