Lines Matching defs:LOffs
1954 const std::pair<FileID, unsigned> &LOffs,
1957 if (isLoadedFileID(LOffs.first) != isLoadedFileID(ROffs.first))
1960 if (isLoadedFileID(LOffs.first) && isLoadedFileID(ROffs.first)) {
1969 if (FindSLocEntryAlloc(LOffs.first) != FindSLocEntryAlloc(ROffs.first))
2029 std::pair<FileID, unsigned> LOffs = getDecomposedLoc(LHS);
2035 if (LOffs.first.isInvalid() || ROffs.first.isInvalid())
2036 return LOffs.first.isInvalid() && !ROffs.first.isInvalid();
2038 std::pair<bool, bool> InSameTU = isInTheSameTranslationUnit(LOffs, ROffs);
2043 return LOffs.first < ROffs.first;
2047 std::pair<FileID, unsigned> &LOffs,
2050 if (!isInTheSameTranslationUnitImpl(LOffs, ROffs))
2054 if (LOffs.first == ROffs.first)
2055 return std::make_pair(true, LOffs.second < ROffs.second);
2060 getInBeforeInTUCache(LOffs.first, ROffs.first);
2066 true, IsBeforeInTUCache.getCachedResult(LOffs.second, ROffs.second));
2073 // A location within a FileID on the path up from LOffs to the main file.
2082 LChain.try_emplace(LOffs.first, Entry{LOffs, LChild});
2083 // We catch the case where LOffs is in a file included by ROffs and
2085 if (LOffs.first == ROffs.first)
2087 LChild = LOffs.first;
2088 } while (!MoveUpTranslationUnitIncludeHierarchy(LOffs, *this));
2095 LOffs = LIt->second.DecomposedLoc;
2107 assert(((LOffs.second != ROffs.second) ||
2112 IsBeforeInTUCache.setCommonLoc(LOffs.first, LOffs.second, ROffs.second,
2115 true, IsBeforeInTUCache.getCachedResult(LOffs.second, ROffs.second));
2123 StringRef LB = getBufferOrFake(LOffs.first).getBufferIdentifier();
2134 return std::make_pair(true, LOffs.first < ROffs.first);
2143 assert(LOffs.first == ROffs.first);
2153 return std::make_pair(true, LOffs.second < ROffs.second);