| /NextBSD/contrib/llvm/tools/clang/lib/Rewrite/ |
| HD | Rewriter.cpp | 129 !isRewritable(Range.getEnd())) return -1; in getRangeSize() 135 EndOff = getLocationOffsetAndFileID(Range.getEnd(), EndFileID); in getRangeSize() 154 EndOff += Lexer::MeasureTokenLength(Range.getEnd(), *SourceMgr, *LangOpts); in getRangeSize() 172 !isRewritable(Range.getEnd())) in getRewrittenText() 178 EndOff = getLocationOffsetAndFileID(Range.getEnd(), EndFileID); in getRewrittenText() 193 EndOff += Lexer::MeasureTokenLength(Range.getEnd(), *SourceMgr, *LangOpts); in getRewrittenText() 203 EndOff += Lexer::MeasureTokenLength(Range.getEnd(), *SourceMgr, *LangOpts); in getRewrittenText() 317 if (!isRewritable(range.getEnd())) return true; in ReplaceText() 333 if (!isRewritable(range.getEnd())) return true; in IncreaseIndentation() 340 EndOff = getLocationOffsetAndFileID(range.getEnd(), EndFileID); in IncreaseIndentation()
|
| /NextBSD/contrib/llvm/tools/clang/lib/Edit/ |
| HD | Commit.cpp | 104 commitableAfter = insertAfterToken(range.getEnd(), after); in insertWrap() 106 commitableAfter = insert(range.getEnd(), after); in insertWrap() 155 addRemove(replacementRange.getEnd(), in replaceWithInner() 302 if (range.getBegin().isMacroID() || range.getEnd().isMacroID()) in canRemoveRange() 305 SM.isInSystemHeader(range.getEnd())) in canRemoveRange() 312 std::pair<FileID, unsigned> endInfo = SM.getDecomposedLoc(range.getEnd()); in canRemoveRange()
|
| HD | 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() 688 literalRange.getEnd().isMacroID()) in getLiteralInfo() 863 SourceLocation LitE = LitInfo.WithoutSuffRange.getEnd(); in rewriteToNumberLiteral()
|
| /NextBSD/contrib/compiler-rt/lib/ubsan/ |
| HD | ubsan_diag.cc | 214 if (Ranges[I].getEnd().getMemoryLocation() > Loc && in upperBound() 242 Max = __sanitizer::Max(Ranges[I].getEnd().getMemoryLocation(), Max); in renderMemorySnippet() 268 if (InRange && InRange->getEnd().getMemoryLocation() == P) in renderMemorySnippet() 285 if (!InRange || InRange->getEnd().getMemoryLocation() == P) in renderMemorySnippet()
|
| /NextBSD/contrib/llvm/tools/clang/lib/Lex/ |
| HD | PreprocessingRecord.cpp | 129 assert(!SourceMgr.isBeforeInTranslationUnit(Range.getEnd(),Range.getBegin())); in getPreprocessedEntitiesInRangeSlow() 161 assert(!SourceMgr.isBeforeInTranslationUnit(Range.getEnd(),Range.getBegin())); in findLocalPreprocessedEntitiesInRange() 164 unsigned End = findEndLocalPreprocessedEntity(Range.getEnd()); in findLocalPreprocessedEntitiesInRange() 219 if (SourceMgr.isBeforeInTranslationUnit((*I)->getSourceRange().getEnd(), in findBeginLocalPreprocessedEntity() 471 EndLoc = FilenameRange.getEnd(); in InclusionDirective()
|
| HD | PPConditionalDirectiveRecord.cpp | 35 if (SourceMgr.isBeforeInTranslationUnit(Range.getEnd(), low->getLoc())) in rangeIntersectsConditionalDirective() 40 Range.getEnd(), CondDirectiveLoc::Comp(SourceMgr)); in rangeIntersectsConditionalDirective()
|
| /NextBSD/contrib/llvm/tools/clang/lib/CodeGen/ |
| HD | CoverageMappingGen.cpp | 151 SourceLocation getEnd(const Stmt *S) { in getEnd() function in __anon177107890111::CoverageMappingBuilder 230 auto LocEnd = I.getEnd(); in gatherSkippedRegions() 323 SourceRegions.emplace_back(Counter(), getStart(Body), getEnd(Body)); in VisitDecl() 443 size_t Index = pushRegion(TopCount, getStart(S), getEnd(S)); in propagateCounts() 552 Region.setEndLoc(getEnd(S)); in terminateRegion() 588 handleFileExit(getEnd(S)); in VisitStmt() 650 adjustForOutOfOrderTraversal(getEnd(S)); in VisitWhileStmt() 703 adjustForOutOfOrderTraversal(getEnd(S)); in VisitForStmt() 769 getEnd(CS->body_back())); in VisitSwitchStmt()
|
| /NextBSD/contrib/llvm/tools/clang/lib/ARCMigrate/ |
| HD | TransformActions.cpp | 69 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()
|
| HD | TransProtectedScope.cpp | 176 Pass.TA.insert(info.Range.getEnd(), "}\n"); in tryFixing() 194 SM.isBeforeInTranslationUnit(Loc, R.getEnd()); in isInRange()
|
| HD | TransRetainReleaseDealloc.cpp | 149 Pass.TA.insertAfterToken(RecRange.getEnd(), str); in VisitObjCMessageExpr() 390 if (SM.isMacroArgExpansion(RecRange.getEnd())) in checkForGCDOrXPC() 391 RecRange.setEnd(SM.getImmediateSpellingLoc(RecRange.getEnd())); in checkForGCDOrXPC()
|
| HD | ARCMT.cpp | 39 (diagLoc == range.getEnd() || in clearDiagnostic() 40 diagLoc.isBeforeInTranslationUnitThan(range.getEnd()))) { in clearDiagnostic() 68 (diagLoc == range.getEnd() || in hasDiagnostic() 69 diagLoc.isBeforeInTranslationUnitThan(range.getEnd()))) { in hasDiagnostic()
|
| HD | TransUnusedInitDelegate.cpp | 62 Pass.TA.insertAfterToken(ExprRange.getEnd(), retStr); in VisitObjCMessageExpr()
|
| HD | PlistReporter.cpp | 55 AddFID(FM, Fids, SM, RI->getEnd()); in writeARCDiagsToPlist()
|
| /NextBSD/contrib/llvm/tools/clang/include/clang/Basic/ |
| HD | SourceLocation.h | 201 SourceLocation getEnd() const { return E; } in getEnd() function 254 SourceLocation getEnd() const { return Range.getEnd(); } in getEnd() function
|
| HD | PlistSupport.h | 113 EmitLocation(o, SM, R.getEnd(), FM, indent + 1); in EmitRange()
|
| /NextBSD/contrib/llvm/tools/clang/lib/Format/ |
| HD | WhitespaceManager.cpp | 110 Changes[i - 1].OriginalWhitespaceRange.getEnd()); in calculateLineBreakInformation() 260 Changes[i].OriginalWhitespaceRange.getEnd()); in alignTrailingComments() 264 Changes[j].OriginalWhitespaceRange.getEnd()); in alignTrailingComments() 382 unsigned WhitespaceLength = SourceMgr.getFileOffset(Range.getEnd()) - in storeReplacement()
|
| /NextBSD/contrib/llvm/tools/clang/include/clang/AST/ |
| HD | NestedNameSpecifier.h | 288 return getSourceRange().getEnd(); in getEndLoc() 300 return getLocalSourceRange().getEnd(); in getLocalEndLoc()
|
| /NextBSD/contrib/llvm/lib/IR/ |
| HD | Dominators.cpp | 150 const BasicBlock *End = BBE.getEnd(); in dominates() 200 if (PN && PN->getParent() == BBE.getEnd() && in dominates()
|
| /NextBSD/contrib/llvm/tools/clang/lib/AST/ |
| HD | RawCommentList.cpp | 73 if (SR.getBegin() == SR.getEnd() || getRawText(SourceMgr).empty()) { in RawComment() 100 std::tie(EndFileID, EndOffset) = SourceMgr.getDecomposedLoc(Range.getEnd()); in getRawTextSlow()
|
| /NextBSD/contrib/llvm/tools/clang/include/clang/Rewrite/Core/ |
| HD | HTMLRewrite.h | 42 HighlightRange(R, Range.getBegin(), Range.getEnd(), StartTag, EndTag); in HighlightRange()
|
| /NextBSD/contrib/llvm/tools/clang/lib/Frontend/ |
| HD | TextDiagnostic.cpp | 837 SourceLocation E = SM.getExpansionLoc(RI->getEnd()); in emitDiagnosticLoc() 844 if (B == E && RI->getEnd().isMacroID()) in emitDiagnosticLoc() 845 E = SM.getExpansionRange(RI->getEnd()).second; in emitDiagnosticLoc() 916 SourceLocation End = R.getEnd(); in highlightRange() 1229 I->RemoveRange.getEnd().isMacroID()) in emitParseableFixits() 1236 SourceLocation ELoc = I->RemoveRange.getEnd(); in emitParseableFixits()
|
| /NextBSD/contrib/llvm/lib/Target/AArch64/ |
| HD | AArch64A57FPLoadBalancing.cpp | 251 MachineBasicBlock::iterator getEnd() const { in getEnd() function in __anon055c91780211::Chain 502 for (MachineBasicBlock::iterator I = G->getStart(), E = G->getEnd(); in scavengeRegister() 557 for (MachineBasicBlock::iterator I = G->getStart(), E = G->getEnd(); in colorChain()
|
| /NextBSD/contrib/llvm/tools/clang/include/clang/Sema/ |
| HD | Initialization.h | 505 TypeRange.getBegin(), TypeRange.getEnd()); in CreateCast() 516 TypeRange.getEnd()); in CreateCStyleCast() 524 TypeRange.getBegin(), TypeRange.getEnd()); in CreateFunctionalCast()
|
| HD | DeclSpec.h | 78 SourceLocation getEndLoc() const { return Range.getEnd(); } in getEndLoc() 208 Range.setEnd(R.getEnd()); in SetInvalid() 498 SourceLocation getLocEnd() const LLVM_READONLY { return Range.getEnd(); } in getLocEnd() 1709 SourceLocation getLocEnd() const LLVM_READONLY { return Range.getEnd(); } in getLocEnd() 1730 if (!SR.getEnd().isInvalid()) in ExtendWithDeclSpec() 1731 Range.setEnd(SR.getEnd()); in ExtendWithDeclSpec()
|
| /NextBSD/contrib/llvm/lib/CodeGen/AsmPrinter/ |
| HD | DwarfCompileUnit.cpp | 222 (&CURanges.back().getEnd()->getSection() != in addRange() 223 &Range.getEnd()->getSection())) { in addRange() 228 CURanges.back().setEnd(Range.getEnd()); in addRange() 402 attachLowHighPC(Die, single.getStart(), single.getEnd()); in attachRangesOrLowHighPC()
|