Lines Matching defs:XL
272 FullSourceLoc XL = X.getLocation().asLocation();
274 if (XL != YL)
275 return XL.isBeforeInTranslationUnitThan(YL);
283 const SourceManager &SM = XL.getManager();
329 static bool compareCrossTUSourceLocs(FullSourceLoc XL, FullSourceLoc YL) {
330 if (XL.isInvalid() && YL.isValid())
332 if (XL.isValid() && YL.isInvalid())
334 std::pair<FileID, unsigned> XOffs = XL.getDecomposedLoc();
336 const SourceManager &SM = XL.getManager();
339 return XL.isBeforeInTranslationUnitThan(YL);
340 const FileEntry *XFE = SM.getFileEntryForID(XL.getSpellingLoc().getFileID());
348 return XL.getFileID() < YL.getFileID();
352 FullSourceLoc XL = X.getLocation().asLocation();
354 if (XL != YL)
355 return compareCrossTUSourceLocs(XL, YL);
368 auto CompareDecls = [&XL](const Decl *D1, const Decl *D2) -> Optional<bool> {
378 const SourceManager &SM = XL.getManager();