Lines Matching refs:YL
273 FullSourceLoc YL = Y.getLocation().asLocation(); in comparePiece() local
274 if (XL != YL) in comparePiece()
275 return XL.isBeforeInTranslationUnitThan(YL); in comparePiece()
329 static bool compareCrossTUSourceLocs(FullSourceLoc XL, FullSourceLoc YL) { in compareCrossTUSourceLocs() argument
330 if (XL.isInvalid() && YL.isValid()) in compareCrossTUSourceLocs()
332 if (XL.isValid() && YL.isInvalid()) in compareCrossTUSourceLocs()
335 std::pair<FileID, unsigned> YOffs = YL.getDecomposedLoc(); in compareCrossTUSourceLocs()
339 return XL.isBeforeInTranslationUnitThan(YL); in compareCrossTUSourceLocs()
341 const FileEntry *YFE = SM.getFileEntryForID(YL.getSpellingLoc().getFileID()); in compareCrossTUSourceLocs()
348 return XL.getFileID() < YL.getFileID(); in compareCrossTUSourceLocs()
353 FullSourceLoc YL = Y.getLocation().asLocation(); in compare() local
354 if (XL != YL) in compare()
355 return compareCrossTUSourceLocs(XL, YL); in compare()