MCPcopy Create free account
hub / github.com/KDE/kdevelop / reservedIdentifierCount

Function reservedIdentifierCount

plugins/clang/codegen/codegenhelper.cpp:57–67  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

55}
56
57int reservedIdentifierCount(const QString &name)
58{
59 const QStringList l = name.split(QStringLiteral("::"));
60 int ret = 0;
61 for (const QString& s : l) {
62 if (s.startsWith(QLatin1Char('_'))) {
63 ++ret;
64 }
65 }
66 return ret;
67}
68
69uint buildIdentifierForType(const AbstractType::Ptr& type, IndexedTypeIdentifier& id, uint pointerLevel, TopDUContext* top)
70{

Callers 1

exchangeMethod · 0.85

Calls 1

splitMethod · 0.45

Tested by

no test coverage detected