simplify/src/InclusionNode.cxx
// return 1 if all of covered regions proceed line, i.e. there end
// line numbers are smaller then line. Since regions are stored in
// sorted order, only need to check the last one
// if this node does not cover any regions (include an empty file), return 1
return 1 if all of covered regions proceed line, i.e. there end
line numbers are smaller then line. Since regions are stored in
sorted order, only need to check the last one
if this node does not cover any regions (include an empty file), return 1
return 1 if all of covered regions proceed line i . e . there end line numbers are smaller then line . Since regions are stored in sorted order only need to check the last one if this node does not cover any regions ( include an empty file ) return 1
int InclusionNode::ProceedsLine(int line)
{
  int ret = 1;
  int size = m_regions.size();
  if (size)
    {
      Region* reg = m_regions[size - 1];
      if (!reg->ProceedsLine(line))
	{
	  ret = 0;
	}
    }
  return ret;
}
int InclusionNode :: ProceedsLine ( int line ) { int ret = 1 ; int size = m_regions . size ( ) ; if ( size ) { Region * reg = m_regions [ size - 1 ] ; if ( ! reg -> ProceedsLine ( line ) ) { ret = 0 ; } } return ret ; }
return 1 if all of covered regions proceed line, i.e.
return 1 if all of covered regions proceed line i . e .