Lines Matching defs:YL
271 FullSourceLoc YL = Y.getLocation().asLocation();
272 if (XL != YL)
273 return XL.isBeforeInTranslationUnitThan(YL);
326 static bool compareCrossTUSourceLocs(FullSourceLoc XL, FullSourceLoc YL) {
327 if (XL.isInvalid() && YL.isValid())
329 if (XL.isValid() && YL.isInvalid())
332 std::pair<FileID, unsigned> YOffs = YL.getDecomposedLoc();
336 return XL.isBeforeInTranslationUnitThan(YL);
340 SM.getFileEntryRefForID(YL.getSpellingLoc().getFileID());
347 return XL.getFileID() < YL.getFileID();
352 FullSourceLoc YL = Y.getLocation().asLocation();
353 if (XL != YL)
354 return compareCrossTUSourceLocs(XL, YL);