Lines Matching refs:ROffs
1970 std::pair<FileID, unsigned> ROffs = getDecomposedLoc(RHS); in isBeforeInTranslationUnit() local
1975 if (LOffs.first.isInvalid() || ROffs.first.isInvalid()) in isBeforeInTranslationUnit()
1976 return LOffs.first.isInvalid() && !ROffs.first.isInvalid(); in isBeforeInTranslationUnit()
1978 std::pair<bool, bool> InSameTU = isInTheSameTranslationUnit(LOffs, ROffs); in isBeforeInTranslationUnit()
1986 StringRef RB = getBufferOrFake(ROffs.first).getBufferIdentifier(); in isBeforeInTranslationUnit()
1995 return LOffs.first < ROffs.first; in isBeforeInTranslationUnit()
2003 assert(LOffs.first == ROffs.first); in isBeforeInTranslationUnit()
2012 return LOffs.second < ROffs.second; in isBeforeInTranslationUnit()
2019 std::pair<FileID, unsigned> &ROffs) const { in isInTheSameTranslationUnit()
2021 if (LOffs.first == ROffs.first) in isInTheSameTranslationUnit()
2022 return std::make_pair(true, LOffs.second < ROffs.second); in isInTheSameTranslationUnit()
2027 getInBeforeInTUCache(LOffs.first, ROffs.first); in isInTheSameTranslationUnit()
2031 if (IsBeforeInTUCache.isCacheValid(LOffs.first, ROffs.first)) in isInTheSameTranslationUnit()
2033 true, IsBeforeInTUCache.getCachedResult(LOffs.second, ROffs.second)); in isInTheSameTranslationUnit()
2036 IsBeforeInTUCache.setQueryFIDs(LOffs.first, ROffs.first, in isInTheSameTranslationUnit()
2037 /*isLFIDBeforeRFID=*/LOffs.first.ID < ROffs.first.ID); in isInTheSameTranslationUnit()
2050 } while (LOffs.first != ROffs.first && !MoveUpIncludeHierarchy(LOffs, *this)); in isInTheSameTranslationUnit()
2052 while((I = LChain.find(ROffs.first)) == LChain.end()) { in isInTheSameTranslationUnit()
2053 if (MoveUpIncludeHierarchy(ROffs, *this)) in isInTheSameTranslationUnit()
2061 if (LOffs.first == ROffs.first) { in isInTheSameTranslationUnit()
2062 IsBeforeInTUCache.setCommonLoc(LOffs.first, LOffs.second, ROffs.second); in isInTheSameTranslationUnit()
2064 true, IsBeforeInTUCache.getCachedResult(LOffs.second, ROffs.second)); in isInTheSameTranslationUnit()