MCPcopy Create free account
hub / github.com/Samsung/UTopia / operator<

Method operator<

lib/astirmap/LocIndex.cpp:81–87  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

79}
80
81bool LocIndex::operator<(const LocIndex &Src) const {
82 if (Path != Src.getPath())
83 return Path < Src.getPath();
84 if (Line != Src.getLine())
85 return Line < Src.getLine();
86 return Column < Src.getColumn();
87}
88
89bool LocIndex::operator!=(const LocIndex &RHS) const {
90

Callers

nothing calls this directly

Calls 3

getPathMethod · 0.80
getColumnMethod · 0.80
getLineMethod · 0.45

Tested by

no test coverage detected