| /netbsd-src/external/apache2/llvm/dist/clang/lib/Tooling/Refactoring/ |
| H A D | ASTSelection.cpp | 27 R.getEnd(), tok::raw_identifier, SM, LangOpts, in getLexicalDeclRange() 43 SelectionEnd(Selection.getBegin() == Selection.getEnd() in ASTSelectionFinder() 45 : Selection.getEnd()), in ASTSelectionFinder() 87 if (DeclRange.getBegin().isMacroID() && !DeclRange.getEnd().isMacroID()) in TraverseDecl() 88 FileLoc = DeclRange.getEnd(); in TraverseDecl() 101 if (DeclRange.getEnd().isValid() && in TraverseDecl() 104 DeclRange.getEnd())) { in TraverseDecl() 140 SourceLocation End = Range.getEnd(); in selectionKindFor() 186 SelectionRange.getEnd()) && in findSelectedASTNodes() 190 assert(Context.getSourceManager().getFileID(SelectionRange.getEnd()) == in findSelectedASTNodes() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/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 ()()
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/Rewrite/ |
| H A D | Rewriter.cpp | 148 !isRewritable(Range.getEnd())) return -1; in getRangeSize() 152 unsigned EndOff = getLocationOffsetAndFileID(Range.getEnd(), EndFileID); in getRangeSize() 170 EndOff += Lexer::MeasureTokenLength(Range.getEnd(), *SourceMgr, *LangOpts); in getRangeSize() 186 !isRewritable(Range.getEnd())) in getRewrittenText() 192 EndOff = getLocationOffsetAndFileID(Range.getEnd(), EndFileID); in getRewrittenText() 209 Lexer::MeasureTokenLength(Range.getEnd(), *SourceMgr, *LangOpts); in getRewrittenText() 220 EndOff += Lexer::MeasureTokenLength(Range.getEnd(), *SourceMgr, *LangOpts); in getRewrittenText() 332 if (!isRewritable(range.getEnd())) return true; in ReplaceText() 348 if (!isRewritable(range.getEnd())) return true; in IncreaseIndentation() 355 EndOff = getLocationOffsetAndFileID(range.getEnd(), EndFileID); in IncreaseIndentation()
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/ |
| H A D | CoverageMappingGen.cpp | 66 SourceMgr.isWrittenInSameFile(SkippedRanges.back().Range.getEnd(), in AddSkippedRange() 68 SkippedRanges.back().Range.setEnd(Range.getEnd()); in AddSkippedRange() 278 SourceLocation getEnd(const Stmt *S) { in getEnd() function in __anon8c3eb65b0211::CoverageMappingBuilder 378 auto LocEnd = Range.getEnd(); in gatherSkippedRegions() 491 SourceLocation End = getEnd(Body); in VisitDecl() 690 SourceLocation EndLoc = getEnd(S); in propagateCounts() 732 popRegions(pushRegion(Counter::getZero(), getStart(C), getEnd(C), in createBranchRegion() 736 popRegions(pushRegion(TrueCnt, getStart(C), getEnd(C), FalseCnt)); in createBranchRegion() 866 SourceLocation EndLoc = getEnd(S); in terminateRegion() 975 auto Gap = findGapAreaBetween(getEnd(LastStmt), getStart(Child)); in VisitStmt() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/Tooling/Transformer/ |
| H A D | SourceCode.cpp | 46 Lexer::getRawToken(R.getEnd(), Tok, Context.getSourceManager(), in maybeExtendRange() 59 if (Range.getBegin().isMacroID() || Range.getEnd().isMacroID()) in validateEditRange() 64 SM.isInSystemHeader(Range.getEnd())) in validateEditRange() 69 std::pair<FileID, unsigned> EndInfo = SM.getDecomposedLoc(Range.getEnd()); in validateEditRange() 137 auto FileOffset = SM.getDecomposedLoc(ExpansionRange.getEnd()); in getEntityEndLoc() 358 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()
|
| /netbsd-src/external/apache2/llvm/dist/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 | 195 commit.replaceWithInner(SourceRange(ArgRange.getBegin(), MsgRange.getEnd()), in rewriteToSubscriptGetCommon() 247 commit.replaceWithInner(SourceRange(Arg1Range.getBegin(), MsgRange.getEnd()), in rewriteToArraySubscriptSet() 283 commit.replaceWithInner(SourceRange(Arg0Range.getBegin(), MsgRange.getEnd()), in rewriteToDictionarySubscriptSet() 517 commit.insertAfterToken(ValRange.getEnd(), "}"); in rewriteToDictionaryLiteral() 544 commit.insertAfterToken(KeyRange.getEnd(), ": "); in rewriteToDictionaryLiteral() 545 commit.insertFromRange(KeyRange.getEnd(), ValRange, /*afterToken=*/true); in rewriteToDictionaryLiteral() 588 commit.insertAfterToken(KeyRange.getEnd(), ": "); in rewriteToDictionaryLiteral() 589 commit.insertFromRange(KeyRange.getEnd(), ValRange, /*afterToken=*/true); in rewriteToDictionaryLiteral() 686 literalRange.getEnd().isMacroID()) in getLiteralInfo() 865 SourceLocation LitE = LitInfo.WithoutSuffRange.getEnd(); in rewriteToNumberLiteral()
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | ContainerModeling.cpp | 232 if (CData.getEnd()) { in checkLiveSymbols() 233 SR.markLive(CData.getEnd()); in checkLiveSymbols() 234 if(const auto *SIE = dyn_cast<SymIntExpr>(CData.getEnd())) in checkLiveSymbols() 327 if (const auto OldEndSym = OldCData->getEnd()) { in handleAssignment() 408 if (const auto EndSym = CData->getEnd()) { in handleClear() 443 if (const auto EndSym = CData->getEnd()) { in handlePushBack() 475 if (const auto EndSym = CData->getEnd()) { in handlePopBack() 595 if (const auto EndSym = CData->getEnd()) { in handleInsert() 627 if (const auto EndSym = CData->getEnd()) { in handleErase() 662 if (const auto EndSym = CData->getEnd()) { in handleErase() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/Frontend/ |
| H A D | DiagnosticRenderer.cpp | 73 Hint.RemoveRange.getBegin() != Hint.RemoveRange.getEnd()) in mergeFixits() 289 IsBegin ? MacroRange.getBegin() : MacroRange.getEnd(); in retrieveMacroLocation() 308 IsBegin ? MacroArgRange.getBegin() : MacroArgRange.getEnd(); in retrieveMacroLocation() 325 Loc = IsBegin ? ExpRange.getBegin() : ExpRange.getEnd(); in getMacroArgExpansionFileIDs() 367 SourceLocation Begin = Range.getBegin(), End = Range.getEnd(); in mapDiagnosticRanges() 388 End = Exp.getEnd(); in mapDiagnosticRanges() 478 SourceLocation BegLoc = Range.getBegin(), EndLoc = Range.getEnd(); in checkRangeForMacroArgExpansion()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/IR/ |
| H A D | Dominators.h | 101 const BasicBlock *getEnd() const { in getEnd() function 124 BBInfo::getHashValue(Edge.getEnd())); 129 BBInfo::isEqual(LHS.getEnd(), RHS.getEnd());
|
| /netbsd-src/external/apache2/llvm/dist/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()
|
| H A D | TransProtectedScope.cpp | 177 Pass.TA.insert(info.Range.getEnd(), "}\n"); in tryFixing() 195 SM.isBeforeInTranslationUnit(Loc, R.getEnd()); in isInRange()
|
| H A D | TransRetainReleaseDealloc.cpp | 153 Pass.TA.insertAfterToken(RecRange.getEnd(), str); in VisitObjCMessageExpr() 384 if (SM.isMacroArgExpansion(RecRange.getEnd())) in checkForGCDOrXPC() 385 RecRange.setEnd(SM.getImmediateSpellingLoc(RecRange.getEnd())); in checkForGCDOrXPC()
|
| /netbsd-src/external/apache2/llvm/dist/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() 346 if (BBE1.getStart() == BBE2.getStart() && BBE1.getEnd() == BBE2.getEnd()) in dominates()
|
| /netbsd-src/external/apache2/llvm/dist/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() 498 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()
|
| /netbsd-src/external/gpl3/gcc.old/dist/libsanitizer/ubsan/ |
| H A D | ubsan_diag.cc | 229 if (Ranges[I].getEnd().getMemoryLocation() > Loc && in upperBound() 257 Max = __sanitizer::Max(Ranges[I].getEnd().getMemoryLocation(), Max); in PrintMemorySnippet() 284 if (InRange && InRange->getEnd().getMemoryLocation() == P) in PrintMemorySnippet() 304 if (!InRange || InRange->getEnd().getMemoryLocation() == P) in PrintMemorySnippet()
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Core/ |
| H A D | SarifDiagnostics.cpp | 187 if (R.getBegin() == R.getEnd()) { in createTextRegion() 190 Region["endLine"] = SM.getExpansionLineNumber(R.getEnd()); in createTextRegion() 192 SM, R.getEnd(), in createTextRegion() 193 Lexer::MeasureTokenLength(R.getEnd(), SM, LO)); in createTextRegion()
|
| H A D | HTMLDiagnostics.cpp | 660 return !(Range.getBegin().isMacroID() || Range.getEnd().isMacroID()); in shouldDisplayPopUpRange() 670 html::HighlightRange(R, Range.getBegin(), Range.getEnd(), "", in HandlePopUpPieceStartTag() 704 html::HighlightRange(R, Range.getBegin(), Range.getEnd(), in HandlePopUpPieceEndTag() 709 html::HighlightRange(R, Range.getBegin(), Range.getEnd(), "", Buf.c_str(), in HandlePopUpPieceEndTag() 1062 SourceLocation InstantiationEnd = SM.getExpansionLoc(Range.getEnd()); in HighlightRange() 1078 EndColNo += Lexer::MeasureTokenLength(Range.getEnd(), SM, LangOpts)-1; in HighlightRange()
|
| /netbsd-src/sys/external/bsd/compiler_rt/dist/lib/ubsan/ |
| H A D | ubsan_diag.cc | 231 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()
|
| /netbsd-src/external/gpl3/gcc/dist/libsanitizer/ubsan/ |
| H A D | ubsan_diag.cpp | 238 if (Ranges[I].getEnd().getMemoryLocation() > Loc && in upperBound() 266 Max = __sanitizer::Max(Ranges[I].getEnd().getMemoryLocation(), Max); in PrintMemorySnippet() 293 if (InRange && InRange->getEnd().getMemoryLocation() == P) in PrintMemorySnippet() 313 if (!InRange || InRange->getEnd().getMemoryLocation() == P) in PrintMemorySnippet()
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/Format/ |
| H A D | AffectedRangeManager.cpp | 65 if (!SourceMgr.isBeforeInTranslationUnit(Range.getEnd(), I->getBegin()) && in affectsCharSourceRange() 66 !SourceMgr.isBeforeInTranslationUnit(I->getEnd(), Range.getBegin())) in affectsCharSourceRange()
|
| /netbsd-src/external/apache2/llvm/dist/clang/include/clang/Basic/ |
| H A D | SourceLocation.h | 222 SourceLocation getEnd() const { return E; } 286 SourceLocation getEnd() const { return Range.getEnd(); }
|
| /netbsd-src/external/apache2/llvm/dist/clang/include/clang/Serialization/ |
| H A D | ASTBitCodes.h | 188 : Begin(R.getBegin().getRawEncoding()), End(R.getEnd().getRawEncoding()), in PPEntityOffset() 195 SourceLocation getEnd() const { in getEnd() function 208 : Begin(R.getBegin().getRawEncoding()), End(R.getEnd().getRawEncoding()) { in PPSkippedRange() 214 SourceLocation getEnd() const { in getEnd() function
|