MCPcopy Create free account
hub / github.com/KDAB/codebrowser / normalizeForfnIndex

Function normalizeForfnIndex

generator/annotator.cpp:218–224  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

216}
217
218static char normalizeForfnIndex(char c) {
219 if (c >= 'A' && c <= 'Z')
220 c = c - 'A' + 'a';
221 if (c < 'a' || c > 'z')
222 return '_';
223 return c;
224}
225
226void Annotator::registerInterestingDefinition(clang::SourceRange sourceRange, clang::NamedDecl *decl) {
227 std::string declName = decl->getQualifiedNameAsString();

Callers 1

generateMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected