Lines Matching refs:XL
270 FullSourceLoc XL = X.getLocation().asLocation(); in comparePiece() local
272 if (XL != YL) in comparePiece()
273 return XL.isBeforeInTranslationUnitThan(YL); in comparePiece()
281 const SourceManager &SM = XL.getManager(); in comparePiece()
326 static bool compareCrossTUSourceLocs(FullSourceLoc XL, FullSourceLoc YL) { in compareCrossTUSourceLocs() argument
327 if (XL.isInvalid() && YL.isValid()) in compareCrossTUSourceLocs()
329 if (XL.isValid() && YL.isInvalid()) in compareCrossTUSourceLocs()
331 std::pair<FileID, unsigned> XOffs = XL.getDecomposedLoc(); in compareCrossTUSourceLocs()
333 const SourceManager &SM = XL.getManager(); in compareCrossTUSourceLocs()
336 return XL.isBeforeInTranslationUnitThan(YL); in compareCrossTUSourceLocs()
338 SM.getFileEntryRefForID(XL.getSpellingLoc().getFileID()); in compareCrossTUSourceLocs()
347 return XL.getFileID() < YL.getFileID(); in compareCrossTUSourceLocs()
351 FullSourceLoc XL = X.getLocation().asLocation(); in compare() local
353 if (XL != YL) in compare()
354 return compareCrossTUSourceLocs(XL, YL); in compare()
367 auto CompareDecls = [&XL](const Decl *D1, in compare()
378 const SourceManager &SM = XL.getManager(); in compare()