| 230 | // ========================================================================== |
| 231 | |
| 232 | uint32_t addComponent(const AST::Component::Component &C) noexcept { |
| 233 | auto &V = getCurrentContext().Components; |
| 234 | uint32_t Idx = static_cast<uint32_t>(V.size()); |
| 235 | V.push_back(&C); |
| 236 | return Idx; |
| 237 | } |
| 238 | |
| 239 | uint32_t addComponent() noexcept { |
| 240 | auto &V = getCurrentContext().Components; |
no test coverage detected