Lines Matching refs:LHS
488 /// the specified LHS/RHS query.
491 bool isCacheValid(FileID LHS, FileID RHS) const {
492 return LQueryFID == LHS && RQueryFID == RHS;
496 /// specified offsets in the LHS/RHS FileID's.
515 void setQueryFIDs(FileID LHS, FileID RHS, bool isLFIDBeforeRFID) {
516 assert(LHS != RHS);
517 LQueryFID = LHS;
1200 /// \brief Return true if both \p LHS and \p RHS are in the local source
1204 /// offset of \p RHS relative to \p LHS.
1205 bool isInSameSLocAddrSpace(SourceLocation LHS, SourceLocation RHS,
1207 unsigned LHSOffs = LHS.getOffset(), RHSOffs = RHS.getOffset();
1434 /// \returns true if LHS source location comes before RHS, false otherwise.
1435 bool isBeforeInTranslationUnit(SourceLocation LHS, SourceLocation RHS) const;
1439 bool isBeforeInSLocAddrSpace(SourceLocation LHS, SourceLocation RHS) const {
1440 return isBeforeInSLocAddrSpace(LHS, RHS.getOffset());
1447 bool isBeforeInSLocAddrSpace(SourceLocation LHS, unsigned RHS) const {
1448 unsigned LHSOffset = LHS.getOffset();
1663 bool operator()(SourceLocation LHS, SourceLocation RHS) const {
1664 return SM.isBeforeInTranslationUnit(LHS, RHS);
1676 bool operator()(SourceRange LHS, SourceRange RHS) {
1677 return SM.isBeforeInTranslationUnit(LHS.getBegin(), RHS.getBegin());