| /freebsd-14.2/contrib/llvm-project/clang/lib/Tooling/Refactoring/ |
| H A D | ASTSelection.cpp | 28 R.getEnd(), tok::raw_identifier, SM, LangOpts, in getLexicalDeclRange() 44 SelectionEnd(Selection.getBegin() == Selection.getEnd() in ASTSelectionFinder() 46 : Selection.getEnd()), in ASTSelectionFinder() 88 if (DeclRange.getBegin().isMacroID() && !DeclRange.getEnd().isMacroID()) in TraverseDecl() 89 FileLoc = DeclRange.getEnd(); in TraverseDecl() 102 if (DeclRange.getEnd().isValid() && in TraverseDecl() 105 DeclRange.getEnd())) { in TraverseDecl() 141 SourceLocation End = Range.getEnd(); in selectionKindFor() 187 SelectionRange.getEnd()) && in findSelectedASTNodes() 191 assert(Context.getSourceManager().getFileID(SelectionRange.getEnd()) == in findSelectedASTNodes() [all …]
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Tooling/ |
| H A D | NodeIntrospection.cpp | 69 if (LHS.first.getEnd() < RHS.first.getEnd()) in operator ()() 71 else if (LHS.first.getEnd() != RHS.first.getEnd()) in operator ()()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Rewrite/ |
| H A D | Rewriter.cpp | 144 !isRewritable(Range.getEnd())) return -1; in getRangeSize() 148 unsigned EndOff = getLocationOffsetAndFileID(Range.getEnd(), EndFileID); in getRangeSize() 166 EndOff += Lexer::MeasureTokenLength(Range.getEnd(), *SourceMgr, *LangOpts); in getRangeSize() 182 !isRewritable(Range.getEnd())) in getRewrittenText() 188 EndOff = getLocationOffsetAndFileID(Range.getEnd(), EndFileID); in getRewrittenText() 205 Lexer::MeasureTokenLength(Range.getEnd(), *SourceMgr, *LangOpts); in getRewrittenText() 216 EndOff += Lexer::MeasureTokenLength(Range.getEnd(), *SourceMgr, *LangOpts); in getRewrittenText() 329 if (!isRewritable(range.getEnd())) return true; in ReplaceText() 345 if (!isRewritable(range.getEnd())) return true; in IncreaseIndentation() 352 EndOff = getLocationOffsetAndFileID(range.getEnd(), EndFileID); in IncreaseIndentation()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CoverageMappingGen.cpp | 311 SourceLocation getEnd(const Stmt *S) { in getEnd() function in __anonc2c3cfe60211::CoverageMappingBuilder 414 auto LocEnd = Range.getEnd(); in gatherSkippedRegions() 543 SourceLocation End = getEnd(Body); in VisitDecl() 1006 SourceLocation EndLoc = getEnd(S); in propagateCounts() 1200 SourceLocation EndLoc = getEnd(S); in terminateRegion() 1393 handleFileExit(getEnd(S)); in VisitStmt() 1724 SourceLocation ExitLoc = getEnd(S); in VisitSwitchStmt() 1804 markSkipped(getEnd(Then), getEnd(Else)); in coverIfConsteval() 1836 const auto end = getEnd(Init); in coverIfConstexpr() 1843 startOfSkipped = getEnd(Init); in coverIfConstexpr() [all …]
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Tooling/Transformer/ |
| H A D | SourceCode.cpp | 46 Lexer::getRawToken(R.getEnd(), Tok, Context.getSourceManager(), in maybeExtendRange() 60 if (Range.getBegin().isMacroID() || Range.getEnd().isMacroID()) in validateRange() 66 SM.isInSystemHeader(Range.getEnd())) in validateRange() 72 std::pair<FileID, unsigned> EndInfo = SM.getDecomposedLoc(Range.getEnd()); in validateRange() 113 spelledInMacroDefinition(EditRange.getEnd(), SM)) in getRange() 117 auto E = SM.getSpellingLoc(EditRange.getEnd()); in getRange() 181 auto FileOffset = SM.getDecomposedLoc(ExpansionRange.getEnd()); in getEntityEndLoc() 402 atOrBeforeSeparation(SM, Range.getEnd(), LangOpts)) { in getAssociatedRange()
|
| H A D | RangeSelector.cpp | 120 SourceLocation End = SelectedRange->getEnd(); in after() 129 CharSourceRange::getTokenRange(SelectedRange->getEnd()), in after() 134 End = Range.getEnd(); in after() 173 SourceLocation E = EndRange->getEnd(); in enclose()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Edit/ |
| H A D | Commit.cpp | 109 commitableAfter = insertAfterToken(range.getEnd(), after); in insertWrap() 111 commitableAfter = insert(range.getEnd(), after); in insertWrap() 160 addRemove(replacementRange.getEnd(), in replaceWithInner() 303 if (range.getBegin().isMacroID() || range.getEnd().isMacroID()) in canRemoveRange() 306 SM.isInSystemHeader(range.getEnd())) in canRemoveRange() 313 std::pair<FileID, unsigned> endInfo = SM.getDecomposedLoc(range.getEnd()); in canRemoveRange()
|
| H A D | RewriteObjCFoundationAPI.cpp | 196 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-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | ContainerModeling.cpp | 218 if (CData.getEnd()) { in checkLiveSymbols() 219 SR.markLive(CData.getEnd()); in checkLiveSymbols() 394 if (const auto EndSym = CData->getEnd()) { in handleClear() 429 if (const auto EndSym = CData->getEnd()) { in handlePushBack() 461 if (const auto EndSym = CData->getEnd()) { in handlePopBack() 581 if (const auto EndSym = CData->getEnd()) { in handleInsert() 613 if (const auto EndSym = CData->getEnd()) { in handleErase() 737 if (CData.getEnd()) in printState() 738 CData.getEnd()->dumpToStream(Out); in printState() 835 return CDataPtr->getEnd(); in getContainerEnd() [all …]
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Frontend/ |
| H A D | DiagnosticRenderer.cpp | 72 Hint.RemoveRange.getBegin() != Hint.RemoveRange.getEnd()) in mergeFixits() 288 IsBegin ? MacroRange.getBegin() : MacroRange.getEnd(); in retrieveMacroLocation() 307 IsBegin ? MacroArgRange.getBegin() : MacroArgRange.getEnd(); in retrieveMacroLocation() 324 Loc = IsBegin ? ExpRange.getBegin() : ExpRange.getEnd(); in getMacroArgExpansionFileIDs() 366 SourceLocation Begin = Range.getBegin(), End = Range.getEnd(); in mapDiagnosticRanges() 387 End = Exp.getEnd(); in mapDiagnosticRanges() 477 SourceLocation BegLoc = Range.getBegin(), EndLoc = Range.getEnd(); in checkRangeForMacroArgExpansion()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | Dominators.h | 112 const BasicBlock *getEnd() const { in getEnd() function 135 BBInfo::getHashValue(Edge.getEnd())); 140 BBInfo::isEqual(LHS.getEnd(), RHS.getEnd());
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | InductiveRangeCheckElimination.cpp | 173 const SCEV *getEnd() const { return End; } in getEnd() function in __anonfea5f1180111::InductiveRangeCheck 209 const SCEV *getEnd() const { return End; } in getEnd() function in __anonfea5f1180111::InductiveRangeCheck::Range 640 SE.isKnownPredicate(PredLT, GreatestSeen, Range.getEnd()); in calculateSubRanges() 642 Result.HighLimit = Clamp(Range.getEnd()); in calculateSubRanges() 658 auto *EndType = dyn_cast<IntegerType>(getEnd()->getType()); in computeSafeIterationSpace() 794 const SCEV *REnd = getEnd(); in computeSafeIterationSpace() 847 const SCEV *NewEnd = SE.getSMinExpr(R1Value.getEnd(), R2.getEnd()); in IntersectSignedRange() 876 const SCEV *NewEnd = SE.getUMinExpr(R1Value.getEnd(), R2.getEnd()); in IntersectUnsignedRange()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/ |
| H A D | HTMLLogger.cpp | 422 EltRange.getEnd() >= Range.getEnd() || in writeCode() 423 EltRange.getEnd() < Range.getBegin() || in writeCode() 424 EltRange.getEnd() >= Range.getEnd()) in writeCode() 428 unsigned Len = EltRange.getEnd().getRawEncoding() - in writeCode()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/ARCMigrate/ |
| H A D | TransformActions.cpp | 68 SourceLocation beginLoc = range.getBegin(), endLoc = range.getEnd(); in CharRange() 410 return canInsert(range.getBegin()) && canInsertAfterToken(range.getEnd()); in canRemoveRange() 474 if (replacementRange.getEnd() != range.getEnd()) in commitReplace() 476 getLocForEndOfToken(replacementRange.getEnd(), in commitReplace() 478 range.getEnd())); in commitReplace() 597 return Exp.getEnd(); in getLocForEndOfToken() 598 loc = Exp.getEnd(); in getLocForEndOfToken()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/IR/ |
| H A D | Dominators.cpp | 205 const BasicBlock *End = BBE.getEnd(); in dominates() 254 if (PN && PN->getParent() == BBE.getEnd() && in dominates() 339 if (BBE1.getStart() == BBE2.getStart() && BBE1.getEnd() == BBE2.getEnd()) in dominates()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
| H A D | BugSuppression.cpp | 76 isLessOrEqual(Smaller.getEnd(), Larger.getEnd(), SM); in fullyContains()
|
| H A D | SarifDiagnostics.cpp | 117 if (R.getBegin() == R.getEnd()) in convertTokenRangeToCharRange() 125 Lexer::getLocForEndOfToken(R.getEnd(), /* Offset = */ 0, SM, LO); in convertTokenRangeToCharRange()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Lex/ |
| H A D | PreprocessingRecord.cpp | 139 assert(!SourceMgr.isBeforeInTranslationUnit(Range.getEnd(),Range.getBegin())); in getPreprocessedEntitiesInRangeSlow() 171 assert(!SourceMgr.isBeforeInTranslationUnit(Range.getEnd(),Range.getBegin())); in findLocalPreprocessedEntitiesInRange() 174 unsigned End = findEndLocalPreprocessedEntity(Range.getEnd()); in findLocalPreprocessedEntitiesInRange() 229 if (SourceMgr.isBeforeInTranslationUnit((*I)->getSourceRange().getEnd(), in findBeginLocalPreprocessedEntity() 504 EndLoc = FilenameRange.getEnd(); in InclusionDirective()
|
| H A D | PPConditionalDirectiveRecord.cpp | 33 if (SourceMgr.isBeforeInTranslationUnit(Range.getEnd(), low->getLoc())) in rangeIntersectsConditionalDirective() 38 Range.getEnd(), CondDirectiveLoc::Comp(SourceMgr)); in rangeIntersectsConditionalDirective()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Sema/ |
| H A D | ParsedAttr.cpp | 319 if (Second.Range.getEnd().isValid()) in takeAndConcatenateAttrs() 320 Result.Range.setEnd(Second.Range.getEnd()); in takeAndConcatenateAttrs() 322 Result.Range.setEnd(First.Range.getEnd()); in takeAndConcatenateAttrs()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Format/ |
| H A D | AffectedRangeManager.cpp | 64 if (!SourceMgr.isBeforeInTranslationUnit(Range.getEnd(), R.getBegin()) && in affectsCharSourceRange() 65 !SourceMgr.isBeforeInTranslationUnit(R.getEnd(), Range.getBegin())) { in affectsCharSourceRange()
|
| H A D | SortJavaScriptImports.cpp | 161 InsertionPoint.setEnd(References[References.size() - 1].Range.getEnd()); in analyze() 246 return getSourceText(Range.getBegin(), Range.getEnd()); in getSourceText() 331 getSourceText(Reference.Range.getBegin(), Reference.Range.getEnd()); in appendReference() 358 Buffer += getSourceText(Reference.SymbolsEnd, Reference.Range.getEnd()); in appendReference()
|
| /freebsd-14.2/contrib/llvm-project/compiler-rt/lib/ubsan/ |
| H A D | ubsan_diag.cpp | 244 if (Ranges[I].getEnd().getMemoryLocation() > Loc && in upperBound() 272 Max = __sanitizer::Max(Ranges[I].getEnd().getMemoryLocation(), Max); in PrintMemorySnippet() 299 if (InRange && InRange->getEnd().getMemoryLocation() == P) in PrintMemorySnippet() 319 if (!InRange || InRange->getEnd().getMemoryLocation() == P) in PrintMemorySnippet()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Tooling/Syntax/ |
| H A D | Tokens.cpp | 50 return !SM.isBeforeInTranslationUnit(R.getEnd(), T.location()); in getTokensCovering() 120 auto DecLast = SM.getDecomposedExpansionLoc(Candidate.getEnd()); in spelledForExpandedSlow() 132 auto Dec = SM.getDecomposedLoc(SM.getExpansionRange(Next).getEnd()); in spelledForExpandedSlow() 249 const auto E = ExpandedTokIndex.find(R.getEnd()); in expandedTokens() 642 if (!Range.getEnd().isFileID()) in MacroExpands() 647 !SM.isBeforeInTranslationUnit(LastExpansionEnd, Range.getEnd())) in MacroExpands() 659 Collector->Expansions[Range.getBegin()] = Range.getEnd(); in MacroExpands() 660 LastExpansionEnd = Range.getEnd(); in MacroExpands()
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/Basic/ |
| H A D | SourceLocation.h | 222 SourceLocation getEnd() const { return E; } 286 SourceLocation getEnd() const { return Range.getEnd(); }
|