| 7792 | return line == other.line && (file == other.file || std::strcmp(file, other.file) == 0); |
| 7793 | } |
| 7794 | bool SourceLineInfo::operator < ( SourceLineInfo const& other ) const noexcept { |
| 7795 | // We can assume that the same file will usually have the same pointer. |
| 7796 | // Thus, if the pointers are the same, there is no point in calling the strcmp |
| 7797 | return line < other.line || ( line == other.line && file != other.file && (std::strcmp(file, other.file) < 0)); |
| 7798 | } |
| 7799 | |
| 7800 | std::ostream& operator << ( std::ostream& os, SourceLineInfo const& info ) { |
| 7801 | #ifndef __GNUG__ |
nothing calls this directly
no outgoing calls
no test coverage detected