| 55 | } |
| 56 | |
| 57 | int 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 | |
| 69 | uint buildIdentifierForType(const AbstractType::Ptr& type, IndexedTypeIdentifier& id, uint pointerLevel, TopDUContext* top) |
| 70 | { |