Home
last modified time | relevance | path

Searched refs:LOffs (Results 1 – 3 of 3) sorted by relevance

/external/llvm-project/clang/lib/Basic/
DSourceManager.cpp1969 std::pair<FileID, unsigned> LOffs = getDecomposedLoc(LHS); 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()
1985 StringRef LB = getBufferOrFake(LOffs.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()
2018 std::pair<FileID, unsigned> &LOffs, in isInTheSameTranslationUnit() argument
2021 if (LOffs.first == ROffs.first) in isInTheSameTranslationUnit()
[all …]
/external/clang/lib/Basic/
DSourceManager.cpp2040 std::pair<FileID, unsigned> LOffs = getDecomposedLoc(LHS); in isBeforeInTranslationUnit() local
2046 if (LOffs.first.isInvalid() || ROffs.first.isInvalid()) in isBeforeInTranslationUnit()
2047 return LOffs.first.isInvalid() && !ROffs.first.isInvalid(); in isBeforeInTranslationUnit()
2050 if (LOffs.first == ROffs.first) in isBeforeInTranslationUnit()
2051 return LOffs.second < ROffs.second; in isBeforeInTranslationUnit()
2056 getInBeforeInTUCache(LOffs.first, ROffs.first); in isBeforeInTranslationUnit()
2060 if (IsBeforeInTUCache.isCacheValid(LOffs.first, ROffs.first)) in isBeforeInTranslationUnit()
2061 return IsBeforeInTUCache.getCachedResult(LOffs.second, ROffs.second); in isBeforeInTranslationUnit()
2064 IsBeforeInTUCache.setQueryFIDs(LOffs.first, ROffs.first, in isBeforeInTranslationUnit()
2065 /*isLFIDBeforeRFID=*/LOffs.first.ID < ROffs.first.ID); in isBeforeInTranslationUnit()
[all …]
/external/llvm-project/clang/include/clang/Basic/
DSourceManager.h1615 isInTheSameTranslationUnit(std::pair<FileID, unsigned> &LOffs,