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

Method isUpperCaseName

lib/token.cpp:230–237  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

228}
229
230bool Token::isUpperCaseName() const
231{
232 if (!isName())
233 return false;
234 return std::none_of(mStr.begin(), mStr.end(), [](char c) {
235 return std::islower(c);
236 });
237}
238
239void Token::concatStr(std::string const& b)
240{

Callers 15

isFunctionHeadMethod · 0.80
isFunctionMethod · 0.80
checkMissingReturnMethod · 0.80
checkScopeMethod · 0.80
combineOperatorsMethod · 0.80
removeMacroInClassDefMethod · 0.80
simplifyAddBracesPairMethod · 0.80
reportUnknownMacrosMethod · 0.80
findGarbageCodeMethod · 0.80

Calls 3

isNameFunction · 0.85
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected