MCPcopy Create free account
hub / github.com/apache/trafficserver / operator ==

Method operator ==

lib/catch2/catch.hpp:9922–9924  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9920namespace Catch {
9921
9922 bool SourceLineInfo::operator == ( SourceLineInfo const& other ) const noexcept {
9923 return line == other.line && (file == other.file || std::strcmp(file, other.file) == 0);
9924 }
9925 bool SourceLineInfo::operator < ( SourceLineInfo const& other ) const noexcept {
9926 // We can assume that the same file will usually have the same pointer.
9927 // Thus, if the pointers are the same, there is no point in calling the strcmp

Callers

nothing calls this directly

Calls 3

strcmpFunction · 0.85
memcmpFunction · 0.50
getMethod · 0.45

Tested by

no test coverage detected