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

Function isAcceptedErrorIdChar

lib/suppressions.cpp:62–73  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

60}
61
62static bool isAcceptedErrorIdChar(char c)
63{
64 switch (c) {
65 case '_':
66 case '-':
67 case '.':
68 case '*':
69 return true;
70 default:
71 return c > 0 && std::isalnum(c);
72 }
73}
74
75std::string SuppressionList::parseFile(std::istream &istr)
76{

Callers 1

addSuppressionMethod · 0.85

Calls 1

isalnumFunction · 0.85

Tested by

no test coverage detected