| 484 | } |
| 485 | |
| 486 | void DecorationManager::ForEachDecoration( |
| 487 | uint32_t id, uint32_t decoration, |
| 488 | std::function<void(const Instruction&)> f) const { |
| 489 | WhileEachDecoration(id, decoration, [&f](const Instruction& inst) { |
| 490 | f(inst); |
| 491 | return true; |
| 492 | }); |
| 493 | } |
| 494 | |
| 495 | bool DecorationManager::HasDecoration(uint32_t id, |
| 496 | spv::Decoration decoration) const { |
no outgoing calls
no test coverage detected