| 235 | } |
| 236 | |
| 237 | static bool segmentIsPartOfMacro(const MacroSegment *segment, |
| 238 | const Macro *macro) |
| 239 | { |
| 240 | if (!macro) { |
| 241 | return false; |
| 242 | } |
| 243 | |
| 244 | return segmentIsPartOfSegmentList(segment, macro->Conditions()) || |
| 245 | segmentIsPartOfSegmentList(segment, macro->Actions()) || |
| 246 | segmentIsPartOfSegmentList(segment, macro->ElseActions()); |
| 247 | } |
| 248 | |
| 249 | static bool isMatchingNestedMacroAction(MacroAction *action, const Macro *macro) |
| 250 | { |
no test coverage detected