| 1121 | } |
| 1122 | |
| 1123 | void TopDUContext::clearUsedDeclarationIndices() |
| 1124 | { |
| 1125 | ENSURE_CAN_WRITE |
| 1126 | for (unsigned int a = 0; a < d_func()->m_usedDeclarationIdsSize(); ++a) |
| 1127 | DUChain::uses()->removeUse(d_func()->m_usedDeclarationIds()[a], this); |
| 1128 | |
| 1129 | d_func_dynamic()->m_usedDeclarationIdsList().clear(); |
| 1130 | } |
| 1131 | |
| 1132 | void TopDUContext::deleteUsesRecursively() |
| 1133 | { |