Searched refs:isBeforeInTranslationUnit (Results 1 - 25 of 33) sorted by relevance

12

/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Lex/
H A DPPConditionalDirectiveRecord.h47 return SM.isBeforeInTranslationUnit(LHS.getLoc(), RHS.getLoc());
50 return SM.isBeforeInTranslationUnit(LHS.getLoc(), RHS);
53 return SM.isBeforeInTranslationUnit(LHS, RHS.getLoc());
/freebsd-11-stable/contrib/llvm-project/clang/lib/Tooling/Refactoring/Rename/
H A DUSRFinder.cpp64 (Context.getSourceManager().isBeforeInTranslationUnit(Start,
66 Context.getSourceManager().isBeforeInTranslationUnit(Point, End));
88 SM.isBeforeInTranslationUnit(StartLoc, Point) !=
89 SM.isBeforeInTranslationUnit(EndLoc, Point))
/freebsd-11-stable/contrib/llvm-project/clang/lib/Lex/
H A DPPConditionalDirectiveRecord.cpp33 if (SourceMgr.isBeforeInTranslationUnit(Range.getEnd(), low->getLoc()))
53 if (SourceMgr.isBeforeInTranslationUnit(CondDirectiveLocs.back().getLoc(),
70 SourceMgr.isBeforeInTranslationUnit(CondDirectiveLocs.back().getLoc(),
H A DPreprocessingRecord.cpp139 assert(!SourceMgr.isBeforeInTranslationUnit(Range.getEnd(),Range.getBegin()));
171 assert(!SourceMgr.isBeforeInTranslationUnit(Range.getEnd(),Range.getBegin()));
189 return SM.isBeforeInTranslationUnit(LHS, RHS);
194 return SM.isBeforeInTranslationUnit(LHS, RHS);
199 return SM.isBeforeInTranslationUnit(LHS, RHS);
229 if (SourceMgr.isBeforeInTranslationUnit((*I)->getSourceRange().getEnd(),
258 !SourceMgr.isBeforeInTranslationUnit(
268 !SourceMgr.isBeforeInTranslationUnit(BeginLoc,
296 if (!SourceMgr.isBeforeInTranslationUnit(BeginLoc,
H A DMacroInfo.cpp207 SM.isBeforeInTranslationUnit(Def.getLocation(), L))
209 SM.isBeforeInTranslationUnit(L, Def.getUndefLocation()))
H A DPreprocessor.cpp372 SourceMgr.isBeforeInTranslationUnit(BestLocation, Location))) {
/freebsd-11-stable/contrib/llvm-project/clang/lib/Format/
H A DAffectedRangeManager.cpp65 if (!SourceMgr.isBeforeInTranslationUnit(Range.getEnd(), I->getBegin()) &&
66 !SourceMgr.isBeforeInTranslationUnit(I->getEnd(), Range.getBegin()))
H A DWhitespaceManager.cpp22 return SourceMgr.isBeforeInTranslationUnit(
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/AST/
H A DLexicallyOrderedRecursiveASTVisitor.h101 if (!SM.isBeforeInTranslationUnit(Sibling->getBeginLoc(),
H A DRawCommentList.h185 return SM.isBeforeInTranslationUnit(LHS.getBeginLoc(), RHS.getBeginLoc());
/freebsd-11-stable/contrib/llvm-project/clang/lib/ARCMigrate/
H A DTransProtectedScope.cpp193 return !SM.isBeforeInTranslationUnit(Loc, R.getBegin()) &&
194 SM.isBeforeInTranslationUnit(Loc, R.getEnd());
H A DTransAutoreleasePool.cpp289 if (SM.isBeforeInTranslationUnit(loc, ScopeRange.getBegin()))
291 return SM.isBeforeInTranslationUnit(loc, ScopeRange.getEnd());
H A DTransformActions.cpp510 if (!SM.isBeforeInTranslationUnit(loc, I.End))
/freebsd-11-stable/contrib/llvm-project/clang/lib/Tooling/Core/
H A DLookup.cpp162 SM.isBeforeInTranslationUnit(
/freebsd-11-stable/contrib/llvm-project/clang/lib/Basic/
H A DSourceLocation.cpp234 return SrcMgr->isBeforeInTranslationUnit(*this, Loc);
H A DSourceManager.cpp1908 /// for isBeforeInTranslationUnit.
1936 bool SourceManager::isBeforeInTranslationUnit(SourceLocation LHS, function in class:SourceManager
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Basic/
H A DSourceManager.h504 /// Holds the cache used by isBeforeInTranslationUnit.
729 /// Cache results for the isBeforeInTranslationUnit method.
734 /// for isBeforeInTranslationUnit.
1621 bool isBeforeInTranslationUnit(SourceLocation LHS, SourceLocation RHS) const;
1658 (isBeforeInTranslationUnit(Start, Location) &&
1659 isBeforeInTranslationUnit(Location, End));
1875 return SM.isBeforeInTranslationUnit(LHS, RHS);
1888 return SM.isBeforeInTranslationUnit(LHS.getBegin(), RHS.getBegin());
/freebsd-11-stable/contrib/llvm-project/clang/lib/Analysis/
H A DCloneDetection.cpp47 SM.isBeforeInTranslationUnit(getBeginLoc(), Other.getBeginLoc()) ||
53 SM.isBeforeInTranslationUnit(Other.getEndLoc(), getEndLoc()) ||
H A DPathDiagnostic.cpp289 return SM.isBeforeInTranslationUnit(XR.getBegin(), YR.getBegin());
290 return SM.isBeforeInTranslationUnit(XR.getEnd(), YR.getEnd());
/freebsd-11-stable/contrib/llvm-project/clang/lib/Tooling/Syntax/
H A DTokens.cpp127 return SourceMgr->isBeforeInTranslationUnit(T.location(), R.getBegin());
131 return !SourceMgr->isBeforeInTranslationUnit(R.getEnd(), T.location());
358 !SM.isBeforeInTranslationUnit(LastExpansionEnd, Range.getEnd()))
H A DBuildTree.cpp109 Arena.sourceManager().isBeforeInTranslationUnit(First, Last));
/freebsd-11-stable/contrib/llvm-project/clang/lib/Tooling/Refactoring/
H A DASTSelection.cpp103 SM.isBeforeInTranslationUnit(SelectionEnd.isValid() ? SelectionEnd
/freebsd-11-stable/contrib/llvm-project/clang/lib/Tooling/Transformer/
H A DRangeSelector.cpp163 if (Result.SourceManager->isBeforeInTranslationUnit(E, B)) {
/freebsd-11-stable/contrib/llvm-project/clang/lib/Sema/
H A DDeclSpec.cpp1095 S.getSourceManager().isBeforeInTranslationUnit(ExtraLocs[I],
1257 if (S.getSourceManager().isBeforeInTranslationUnit(
H A DAnalysisBasedWarnings.cpp1413 return SM.isBeforeInTranslationUnit(LHS.first->getBeginLoc(),
1600 return SM.isBeforeInTranslationUnit(left.first.first, right.first.first);

Completed in 368 milliseconds

12