| 738 | } |
| 739 | |
| 740 | bool LineInfo::inside ( const LineInfo & info ) const { |
| 741 | if ( fileInfo && fileInfo != info.fileInfo ) return false; |
| 742 | if ( line < info.line || line >= info.last_line ) return false; |
| 743 | uint32_t from = line==info.line ? info.column : 0; |
| 744 | uint32_t to = line==info.last_line ? info.last_column : 100500; |
| 745 | return (column>=from) && (column<to); |
| 746 | } |
| 747 | |
| 748 | bool LineInfo::empty() const { |
| 749 | return (line==0) && (column==0) && (last_line==0) && (last_column==0); |
no outgoing calls
no test coverage detected