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

Function makeBaseTypeString

lib/checktype.cpp:410–415  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

408}
409
410static void makeBaseTypeString(std::string& typeStr)
411{
412 const auto pos = typeStr.find("signed");
413 if (pos != std::string::npos)
414 typeStr.erase(typeStr.begin(), typeStr.begin() + pos + 6 + 1);
415}
416
417void CheckTypeImpl::longCastAssignError(const Token *tok, const ValueType* src, const ValueType* tgt)
418{

Callers 2

longCastAssignErrorMethod · 0.85
longCastReturnErrorMethod · 0.85

Calls 3

findMethod · 0.45
eraseMethod · 0.45
beginMethod · 0.45

Tested by

no test coverage detected