Home
last modified time | relevance | path

Searched refs:getEnd (Results 1 – 25 of 145) sorted by relevance

123456

/freebsd-12.1/contrib/llvm/tools/clang/lib/Tooling/Refactoring/
H A DASTSelection.cpp29 R.getEnd(), tok::raw_identifier, SM, LangOpts, in getLexicalDeclRange()
45 SelectionEnd(Selection.getBegin() == Selection.getEnd() in ASTSelectionFinder()
47 : Selection.getEnd()), in ASTSelectionFinder()
89 if (DeclRange.getBegin().isMacroID() && !DeclRange.getEnd().isMacroID()) in TraverseDecl()
90 FileLoc = DeclRange.getEnd(); in TraverseDecl()
103 if (DeclRange.getEnd().isValid() && in TraverseDecl()
106 DeclRange.getEnd())) { in TraverseDecl()
142 SourceLocation End = Range.getEnd(); in selectionKindFor()
188 SelectionRange.getEnd()) && in findSelectedASTNodes()
192 assert(Context.getSourceManager().getFileID(SelectionRange.getEnd()) == in findSelectedASTNodes()
[all …]
/freebsd-12.1/contrib/llvm/tools/clang/lib/Rewrite/
H A DRewriter.cpp138 !isRewritable(Range.getEnd())) return -1; in getRangeSize()
142 unsigned EndOff = getLocationOffsetAndFileID(Range.getEnd(), EndFileID); in getRangeSize()
160 EndOff += Lexer::MeasureTokenLength(Range.getEnd(), *SourceMgr, *LangOpts); in getRangeSize()
176 !isRewritable(Range.getEnd())) in getRewrittenText()
182 EndOff = getLocationOffsetAndFileID(Range.getEnd(), EndFileID); in getRewrittenText()
197 EndOff += Lexer::MeasureTokenLength(Range.getEnd(), *SourceMgr, *LangOpts); in getRewrittenText()
207 EndOff += Lexer::MeasureTokenLength(Range.getEnd(), *SourceMgr, *LangOpts); in getRewrittenText()
319 if (!isRewritable(range.getEnd())) return true; in ReplaceText()
335 if (!isRewritable(range.getEnd())) return true; in IncreaseIndentation()
342 EndOff = getLocationOffsetAndFileID(range.getEnd(), EndFileID); in IncreaseIndentation()
/freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/
H A DCoverageMappingGen.cpp214 SourceLocation getEnd(const Stmt *S) { in getEnd() function in __anonc2ccc9df0111::CoverageMappingBuilder
290 auto LocEnd = I.getEnd(); in gatherSkippedRegions()
395 SourceLocation End = getEnd(Body); in VisitDecl()
664 SourceLocation EndLoc = getEnd(S); in propagateCounts()
790 SourceLocation EndLoc = getEnd(S); in terminateRegion()
868 handleFileExit(getEnd(S)); in VisitStmt()
967 adjustForOutOfOrderTraversal(getEnd(S)); in VisitWhileStmt()
1033 adjustForOutOfOrderTraversal(getEnd(S)); in VisitForStmt()
1140 SourceLocation ExitLoc = getEnd(S); in VisitSwitchStmt()
1255 handleFileExit(getEnd(E->getLHS())); in VisitBinLAnd()
[all …]
/freebsd-12.1/contrib/llvm/tools/clang/lib/Edit/
H A DCommit.cpp110 commitableAfter = insertAfterToken(range.getEnd(), after); in insertWrap()
112 commitableAfter = insert(range.getEnd(), after); in insertWrap()
161 addRemove(replacementRange.getEnd(), in replaceWithInner()
304 if (range.getBegin().isMacroID() || range.getEnd().isMacroID()) in canRemoveRange()
307 SM.isInSystemHeader(range.getEnd())) in canRemoveRange()
314 std::pair<FileID, unsigned> endInfo = SM.getDecomposedLoc(range.getEnd()); in canRemoveRange()
H A DRewriteObjCFoundationAPI.cpp196 commit.replaceWithInner(SourceRange(ArgRange.getBegin(), MsgRange.getEnd()), in rewriteToSubscriptGetCommon()
248 commit.replaceWithInner(SourceRange(Arg1Range.getBegin(), MsgRange.getEnd()), in rewriteToArraySubscriptSet()
284 commit.replaceWithInner(SourceRange(Arg0Range.getBegin(), MsgRange.getEnd()), in rewriteToDictionarySubscriptSet()
518 commit.insertAfterToken(ValRange.getEnd(), "}"); in rewriteToDictionaryLiteral()
545 commit.insertAfterToken(KeyRange.getEnd(), ": "); in rewriteToDictionaryLiteral()
546 commit.insertFromRange(KeyRange.getEnd(), ValRange, /*afterToken=*/true); in rewriteToDictionaryLiteral()
589 commit.insertAfterToken(KeyRange.getEnd(), ": "); in rewriteToDictionaryLiteral()
590 commit.insertFromRange(KeyRange.getEnd(), ValRange, /*afterToken=*/true); in rewriteToDictionaryLiteral()
687 literalRange.getEnd().isMacroID()) in getLiteralInfo()
866 SourceLocation LitE = LitInfo.WithoutSuffRange.getEnd(); in rewriteToNumberLiteral()
/freebsd-12.1/contrib/llvm/include/llvm/IR/
H A DDominators.h95 const BasicBlock *getEnd() const { in getEnd() function
118 BBInfo::getHashValue(Edge.getEnd()));
123 BBInfo::isEqual(LHS.getEnd(), RHS.getEnd());
/freebsd-12.1/contrib/llvm/tools/clang/lib/Frontend/
H A DDiagnosticRenderer.cpp74 Hint.RemoveRange.getBegin() != Hint.RemoveRange.getEnd()) in mergeFixits()
290 IsBegin ? MacroRange.getBegin() : MacroRange.getEnd(); in retrieveMacroLocation()
309 IsBegin ? MacroArgRange.getBegin() : MacroArgRange.getEnd(); in retrieveMacroLocation()
326 Loc = IsBegin ? ExpRange.getBegin() : ExpRange.getEnd(); in getMacroArgExpansionFileIDs()
368 SourceLocation Begin = Range.getBegin(), End = Range.getEnd(); in mapDiagnosticRanges()
389 End = Exp.getEnd(); in mapDiagnosticRanges()
472 SourceLocation BegLoc = Range.getBegin(), EndLoc = Range.getEnd(); in checkRangeForMacroArgExpansion()
H A DTextDiagnostic.cpp857 CharSourceRange ERange = SM.getExpansionRange(RI->getEnd()); in emitDiagnosticLoc()
858 SourceLocation E = ERange.getEnd(); in emitDiagnosticLoc()
923 SourceLocation End = R.getEnd(); in findLinesForRange()
976 SourceLocation End = R.getEnd(); in highlightRange()
1314 I->RemoveRange.getEnd().isMacroID()) in emitParseableFixits()
1321 SourceLocation ELoc = I->RemoveRange.getEnd(); in emitParseableFixits()
/freebsd-12.1/contrib/llvm/tools/clang/lib/ARCMigrate/
H A DTransformActions.cpp69 SourceLocation beginLoc = range.getBegin(), endLoc = range.getEnd(); in CharRange()
409 return canInsert(range.getBegin()) && canInsertAfterToken(range.getEnd()); in canRemoveRange()
473 if (replacementRange.getEnd() != range.getEnd()) in commitReplace()
475 getLocForEndOfToken(replacementRange.getEnd(), in commitReplace()
477 range.getEnd())); in commitReplace()
596 return Exp.getEnd(); in getLocForEndOfToken()
597 loc = Exp.getEnd(); in getLocForEndOfToken()
H A DTransProtectedScope.cpp177 Pass.TA.insert(info.Range.getEnd(), "}\n"); in tryFixing()
195 SM.isBeforeInTranslationUnit(Loc, R.getEnd()); in isInRange()
H A DTransRetainReleaseDealloc.cpp154 Pass.TA.insertAfterToken(RecRange.getEnd(), str); in VisitObjCMessageExpr()
385 if (SM.isMacroArgExpansion(RecRange.getEnd())) in checkForGCDOrXPC()
386 RecRange.setEnd(SM.getImmediateSpellingLoc(RecRange.getEnd())); in checkForGCDOrXPC()
H A DARCMT.cpp41 (diagLoc == range.getEnd() || in clearDiagnostic()
42 diagLoc.isBeforeInTranslationUnitThan(range.getEnd()))) { in clearDiagnostic()
70 (diagLoc == range.getEnd() || in hasDiagnostic()
71 diagLoc.isBeforeInTranslationUnitThan(range.getEnd()))) { in hasDiagnostic()
H A DTransUnusedInitDelegate.cpp62 Pass.TA.insertAfterToken(ExprRange.getEnd(), retStr); in VisitObjCMessageExpr()
/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()
175 unsigned End = findEndLocalPreprocessedEntity(Range.getEnd()); in findLocalPreprocessedEntitiesInRange()
230 if (SourceMgr.isBeforeInTranslationUnit((*I)->getSourceRange().getEnd(), in findBeginLocalPreprocessedEntity()
503 EndLoc = FilenameRange.getEnd(); in InclusionDirective()
H A DPPConditionalDirectiveRecord.cpp35 if (SourceMgr.isBeforeInTranslationUnit(Range.getEnd(), low->getLoc())) in rangeIntersectsConditionalDirective()
40 Range.getEnd(), CondDirectiveLoc::Comp(SourceMgr)); in rangeIntersectsConditionalDirective()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Format/
H A DSortJavaScriptImports.cpp173 InsertionPoint.setEnd(References[References.size() - 1].Range.getEnd()); in analyze()
235 return getSourceText(Range.getBegin(), Range.getEnd()); in getSourceText()
263 SourceLocation SymbolsEnd = Reference.Symbols.back().Range.getEnd(); in appendReference()
272 Buffer += getSourceText(SymbolsEnd, Reference.Range.getEnd()); in appendReference()
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.cpp111 Changes[i - 1].OriginalWhitespaceRange.getEnd(); in calculateLineBreakInformation()
510 Changes[i].OriginalWhitespaceRange.getEnd()); in alignTrailingComments()
516 Changes[j].OriginalWhitespaceRange.getEnd()); in alignTrailingComments()
637 unsigned WhitespaceLength = SourceMgr.getFileOffset(Range.getEnd()) - in storeReplacement()
/freebsd-12.1/contrib/compiler-rt/lib/ubsan/
H A Dubsan_diag.cc231 if (Ranges[I].getEnd().getMemoryLocation() > Loc && in upperBound()
259 Max = __sanitizer::Max(Ranges[I].getEnd().getMemoryLocation(), Max); in PrintMemorySnippet()
286 if (InRange && InRange->getEnd().getMemoryLocation() == P) in PrintMemorySnippet()
306 if (!InRange || InRange->getEnd().getMemoryLocation() == P) in PrintMemorySnippet()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Basic/
H A DSourceLocation.h208 SourceLocation getEnd() const { return E; } in getEnd() function
267 SourceLocation getEnd() const { return Range.getEnd(); } in getEnd() function
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Serialization/
H A DASTBitCodes.h190 End(R.getEnd().getRawEncoding()), BitOffset(BitOffset) {} in PPEntityOffset()
196 SourceLocation getEnd() const { in getEnd() function
210 End(R.getEnd().getRawEncoding()) { } in PPSkippedRange()
215 SourceLocation getEnd() const { in getEnd() function
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/AST/
H A DNestedNameSpecifier.h300 return getSourceRange().getEnd(); in getEndLoc()
312 return getLocalSourceRange().getEnd(); in getLocalEndLoc()
/freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/
H A DIteratorChecker.cpp156 SymbolRef getEnd() const { return End; } in getEnd() function
799 if (CData.getEnd()) { in checkLiveSymbols()
800 SR.markLive(CData.getEnd()); in checkLiveSymbols()
1281 if (const auto EndSym = CData->getEnd()) { in handleClear()
1314 if (const auto EndSym = CData->getEnd()) { in handlePushBack()
1343 if (const auto EndSym = CData->getEnd()) { in handlePopBack()
1451 if (const auto EndSym = CData->getEnd()) { in handleInsert()
1988 return CDataPtr->getEnd(); in getContainerEnd()
2012 if (CDataPtr->getEnd()) { in createContainerEnd()
2323 const auto End = CData->getEnd(); in isPastTheEnd()
[all …]
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Rewrite/Core/
H A DHTMLRewrite.h43 HighlightRange(R, Range.getBegin(), Range.getEnd(), StartTag, EndTag); in HighlightRange()
/freebsd-12.1/contrib/llvm/lib/Transforms/Scalar/
H A DInductiveRangeCheckElimination.cpp155 const SCEV *getEnd() const { return End; } in getEnd() function in __anon72252c870111::InductiveRangeCheck
192 const SCEV *getEnd() const { return End; } in getEnd() function in __anon72252c870111::InductiveRangeCheck::Range
1116 SE.isKnownPredicate(PredLT, GreatestSeen, Range.getEnd()); in calculateSubRanges()
1118 Result.HighLimit = Clamp(Range.getEnd()); in calculateSubRanges()
1666 const SCEV *REnd = getEnd(); in computeSafeIterationSpace()
1694 const SCEV *NewEnd = SE.getSMinExpr(R1Value.getEnd(), R2.getEnd()); in IntersectSignedRange()
1723 const SCEV *NewEnd = SE.getUMinExpr(R1Value.getEnd(), R2.getEnd()); in IntersectUnsignedRange()

123456