Lines Matching defs:LineEntry
29 struct LineEntry {
49 static LineEntry get(unsigned Offs, unsigned Line, int Filename,
52 LineEntry E;
62 // needed for FindNearestLineEntry (upper_bound of LineEntry)
63 inline bool operator<(const LineEntry &lhs, const LineEntry &rhs) {
68 inline bool operator<(const LineEntry &E, unsigned Offset) {
72 inline bool operator<(unsigned Offset, const LineEntry &E) {
89 std::map<FileID, std::vector<LineEntry> > LineEntries;
114 const LineEntry *FindNearestLineEntry(FileID FID, unsigned Offset);
117 typedef std::map<FileID, std::vector<LineEntry> >::iterator iterator;
123 void AddEntry(FileID FID, const std::vector<LineEntry> &Entries);