Home
last modified time | relevance | path

Searched refs:isBeforeInTranslationUnit (Results 1 – 25 of 31) sorted by relevance

12

/freebsd-12.1/contrib/llvm/tools/clang/lib/Tooling/Refactoring/Rename/
H A DUSRFinder.cpp65 (Context.getSourceManager().isBeforeInTranslationUnit(Start, in isPointWithin()
67 Context.getSourceManager().isBeforeInTranslationUnit(Point, End)); in isPointWithin()
89 SM.isBeforeInTranslationUnit(StartLoc, Point) != in getNamedDeclAt()
90 SM.isBeforeInTranslationUnit(EndLoc, Point)) in getNamedDeclAt()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Lex/
H A DPreprocessingRecord.cpp140 assert(!SourceMgr.isBeforeInTranslationUnit(Range.getEnd(),Range.getBegin())); in getPreprocessedEntitiesInRangeSlow()
172 assert(!SourceMgr.isBeforeInTranslationUnit(Range.getEnd(),Range.getBegin())); in findLocalPreprocessedEntitiesInRange()
190 return SM.isBeforeInTranslationUnit(LHS, RHS); in operator ()()
195 return SM.isBeforeInTranslationUnit(LHS, RHS); in operator ()()
200 return SM.isBeforeInTranslationUnit(LHS, RHS); in operator ()()
230 if (SourceMgr.isBeforeInTranslationUnit((*I)->getSourceRange().getEnd(), in findBeginLocalPreprocessedEntity()
262 !SourceMgr.isBeforeInTranslationUnit( in addPreprocessedEntity()
272 !SourceMgr.isBeforeInTranslationUnit(BeginLoc, in addPreprocessedEntity()
300 if (!SourceMgr.isBeforeInTranslationUnit(BeginLoc, in addPreprocessedEntity()
H A DPPConditionalDirectiveRecord.cpp35 if (SourceMgr.isBeforeInTranslationUnit(Range.getEnd(), low->getLoc())) in rangeIntersectsConditionalDirective()
55 if (SourceMgr.isBeforeInTranslationUnit(CondDirectiveLocs.back().getLoc(), in findConditionalDirectiveRegionLoc()
73 SourceMgr.isBeforeInTranslationUnit(CondDirectiveLocs.back().getLoc(), in addCondDirectiveLoc()
H A DMacroInfo.cpp208 SM.isBeforeInTranslationUnit(Def.getLocation(), L)) in findDirectiveAtLoc()
210 SM.isBeforeInTranslationUnit(L, Def.getUndefLocation())) in findDirectiveAtLoc()
H A DPreprocessor.cpp364 SourceMgr.isBeforeInTranslationUnit(BestLocation, Location))) { in getLastMacroWithSpelling()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Lex/
H A DPPConditionalDirectiveRecord.h48 return SM.isBeforeInTranslationUnit(LHS.getLoc(), RHS.getLoc()); in operator()
51 return SM.isBeforeInTranslationUnit(LHS.getLoc(), RHS); in operator()
54 return SM.isBeforeInTranslationUnit(LHS, RHS.getLoc()); in operator()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Format/
H A DAffectedRangeManager.cpp66 if (!SourceMgr.isBeforeInTranslationUnit(Range.getEnd(), I->getBegin()) && in affectsCharSourceRange()
67 !SourceMgr.isBeforeInTranslationUnit(I->getEnd(), Range.getBegin())) in affectsCharSourceRange()
H A DWhitespaceManager.cpp23 return SourceMgr.isBeforeInTranslationUnit( in operator ()()
H A DFormat.cpp1487 return SM.isBeforeInTranslationUnit(LHS->Tok.getLocation(), in operator ()()
/freebsd-12.1/contrib/llvm/tools/clang/lib/ARCMigrate/
H A DTransProtectedScope.cpp194 return !SM.isBeforeInTranslationUnit(Loc, R.getBegin()) && in isInRange()
195 SM.isBeforeInTranslationUnit(Loc, R.getEnd()); in isInRange()
H A DTransAutoreleasePool.cpp290 if (SM.isBeforeInTranslationUnit(loc, ScopeRange.getBegin())) in isInScope()
292 return SM.isBeforeInTranslationUnit(loc, ScopeRange.getEnd()); in isInScope()
H A DTransformActions.cpp509 if (!SM.isBeforeInTranslationUnit(loc, I.End)) in addInsertion()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/AST/
H A DLexicallyOrderedRecursiveASTVisitor.h102 if (!SM.isBeforeInTranslationUnit(Sibling->getBeginLoc(), in TraverseDeclContextHelper()
H A DRawCommentList.h183 return SM.isBeforeInTranslationUnit(LHS.getBeginLoc(), RHS.getBeginLoc()); in operator()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Basic/
H A DSourceManager.h1560 bool isBeforeInTranslationUnit(SourceLocation LHS, SourceLocation RHS) const;
1597 (isBeforeInTranslationUnit(Start, Location) && in isPointWithin()
1598 isBeforeInTranslationUnit(Location, End)); in isPointWithin()
1814 return SM.isBeforeInTranslationUnit(LHS, RHS); in operator()
1827 return SM.isBeforeInTranslationUnit(LHS.getBegin(), RHS.getBegin()); in operator()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Analysis/
H A DCloneDetection.cpp48 SM.isBeforeInTranslationUnit(getBeginLoc(), Other.getBeginLoc()) || in contains()
54 SM.isBeforeInTranslationUnit(Other.getEndLoc(), getEndLoc()) || in contains()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Basic/
H A DSourceLocation.cpp235 return SrcMgr->isBeforeInTranslationUnit(*this, Loc); in isBeforeInTranslationUnitThan()
H A DSourceManager.cpp1988 bool SourceManager::isBeforeInTranslationUnit(SourceLocation LHS, in isBeforeInTranslationUnit() function in SourceManager
/freebsd-12.1/contrib/llvm/tools/clang/lib/AST/
H A DRawCommentList.cpp281 !SourceMgr.isBeforeInTranslationUnit(Comments.back()->getBeginLoc(), in addComment()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Tooling/Refactoring/
H A DASTSelection.cpp104 SM.isBeforeInTranslationUnit(SelectionEnd.isValid() ? SelectionEnd in TraverseDecl()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/
H A DDeclSpec.cpp1056 S.getSourceManager().isBeforeInTranslationUnit(ExtraLocs[I], in Finish()
1218 if (S.getSourceManager().isBeforeInTranslationUnit( in Finish()
H A DAnalysisBasedWarnings.cpp1400 return SM.isBeforeInTranslationUnit(LHS.first->getBeginLoc(), in diagnoseRepeatedUseOfWeak()
1587 return SM.isBeforeInTranslationUnit(left.first.first, right.first.first); in operator ()()
/freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/
H A DPathDiagnostic.cpp364 return SM.isBeforeInTranslationUnit(XR.getBegin(), YR.getBegin()); in comparePiece()
365 return SM.isBeforeInTranslationUnit(XR.getEnd(), YR.getEnd()); in comparePiece()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Serialization/
H A DASTReader.cpp5558 return Reader.getSourceManager().isBeforeInTranslationUnit(LHS, RHS); in operator ()()
5563 return Reader.getSourceManager().isBeforeInTranslationUnit(LHS, RHS); in operator ()()
5568 return Reader.getSourceManager().isBeforeInTranslationUnit(LHS, RHS); in operator ()()
5615 if (SourceMgr.isBeforeInTranslationUnit( in findPreprocessedEntity()
5637 assert(!SourceMgr.isBeforeInTranslationUnit(Range.getEnd(),Range.getBegin())); in findPreprocessedEntitiesInRange()
7464 return Reader.getSourceManager().isBeforeInTranslationUnit(LHS, RHS); in operator ()()
7469 return Reader.getSourceManager().isBeforeInTranslationUnit(LHS, RHS); in operator ()()
7474 return Reader.getSourceManager().isBeforeInTranslationUnit(LHS, RHS); in operator ()()
/freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/
H A DCoverageMappingGen.cpp673 if (SM.isBeforeInTranslationUnit(StartLoc, S->getBeginLoc())) in propagateCounts()

12