| 223 | |
| 224 | template<typename T> |
| 225 | static bool |
| 226 | segmentIsPartOfSegmentList(const MacroSegment *segment, |
| 227 | const std::deque<std::shared_ptr<T>> &segmentList) |
| 228 | { |
| 229 | for (const auto &segmentFromList : segmentList) { |
| 230 | if (segment == segmentFromList.get()) { |
| 231 | return true; |
| 232 | } |
| 233 | } |
| 234 | return false; |
| 235 | } |
| 236 | |
| 237 | static bool segmentIsPartOfMacro(const MacroSegment *segment, |
| 238 | const Macro *macro) |
no test coverage detected