MCPcopy Create free account
hub / github.com/bumptop/BumpTop / resolveNamespaces

Function resolveNamespaces

trunk/win/Source/LUpdateString/cpp.cpp:592–603  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

590}
591
592static QStringList resolveNamespaces(
593 const QStringList &namespaces, const QHash<QString, QStringList> &namespaceAliases)
594{
595 static QString strColons(QLatin1String("::"));
596
597 QStringList ns;
598 foreach (const QString &cns, namespaces) {
599 ns << cns;
600 ns = namespaceAliases.value(ns.join(strColons), ns);
601 }
602 return ns;
603}
604
605static QStringList getFullyQualifiedNamespaceName(
606 const QSet<QString> &allNamespaces, const QStringList &namespaces,

Callers 3

parseFunction · 0.85

Calls 1

QLatin1StringClass · 0.85

Tested by

no test coverage detected