| 87 | } |
| 88 | |
| 89 | void EnumNode::populateNode() |
| 90 | { |
| 91 | DUChainReadLocker readLock(DUChain::lock()); |
| 92 | |
| 93 | Declaration* decl = declaration(); |
| 94 | |
| 95 | if (decl->internalContext()) { |
| 96 | const auto localDeclarations = decl->internalContext()->localDeclarations(); |
| 97 | for (Declaration* enumDecl : localDeclarations) { |
| 98 | addNode(new EnumNode(enumDecl, m_model)); |
| 99 | } |
| 100 | } |
| 101 | } |
| 102 | |
| 103 | ////////////////////////////////////////////////////////////////////////////// |
| 104 | ////////////////////////////////////////////////////////////////////////////// |
nothing calls this directly
no test coverage detected