/freebsd/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/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() 133 auto EndToken = getExpansionForSplitToken(Range.getEnd(), SM, LangOpts); in getRangeForSplitTokens() 140 return CharSourceRange::getCharRange(BeginLoc, EndToken->getEnd()); in getRangeForSplitTokens() 146 Range.getEnd()); in getRangeForSplitTokens() 162 spelledInMacroDefinition(AdjustedRange.getEnd(), SM)) in getRange() 166 auto E = SM.getSpellingLoc(AdjustedRange.getEnd()); in getRange() 230 auto FileOffset = SM.getDecomposedLoc(ExpansionRange.getEnd()); in getEntityEndLoc() [all …]
|
H A D | RangeSelector.cpp | 113 SourceLocation End = SelectedRange->getEnd(); in after() 122 CharSourceRange::getTokenRange(SelectedRange->getEnd()), in after() 127 End = Range.getEnd(); in after() 166 SourceLocation E = EndRange->getEnd(); in enclose() 287 return E.getParenOrBraceRange().getEnd(); in getRLoc()
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CoverageMappingGen.cpp | 83 SourceMgr.isWrittenInSameFile(SkippedRanges.back().Range.getEnd(), in AddSkippedRange() 85 SkippedRanges.back().Range.setEnd(Range.getEnd()); in AddSkippedRange() 319 EndLoc = ExpansionRange.getEnd(); in getNonScratchExpansionLoc() 361 SourceLocation getEnd(const Stmt *S) { in getEnd() function in __anon413222f00211::CoverageMappingBuilder 483 auto LocEnd = Range.getEnd(); in gatherSkippedRegions() 621 SourceLocation End = getEnd(Body); in VisitDecl() 1086 SourceLocation EndLoc = getEnd(S); in propagateCounts() 1137 popRegions(pushRegion(Counter::getZero(), getStart(C), getEnd(C), 1141 popRegions(pushRegion(TrueCnt, getStart(C), getEnd(C), FalseCnt, 1151 popRegions(pushRegion(DecisionParams, getStart(C), getEnd(C))); in createDecisionRegion() [all …]
|
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
H A D | ContainerModeling.cpp | 223 if (CData.getEnd()) { in checkLiveSymbols() 224 SR.markLive(CData.getEnd()); in checkLiveSymbols() 225 if(const auto *SIE = dyn_cast<SymIntExpr>(CData.getEnd())) in checkLiveSymbols() 318 if (const auto OldEndSym = OldCData->getEnd()) { in handleAssignment() 399 if (const auto EndSym = CData->getEnd()) { in handleClear() 434 if (const auto EndSym = CData->getEnd()) { in handlePushBack() 466 if (const auto EndSym = CData->getEnd()) { in handlePopBack() 586 if (const auto EndSym = CData->getEnd()) { in handleInsert() 618 if (const auto EndSym = CData->getEnd()) { in handleErase() 653 if (const auto EndSym = CData->getEnd()) { in handleErase() [all …]
|
/freebsd/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/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/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/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/ |
H A D | HTMLLogger.cpp | 434 EltRange.getEnd() >= Range.getEnd() || in writeCode() 435 EltRange.getEnd() < Range.getBegin() || in writeCode() 436 EltRange.getEnd() >= Range.getEnd()) in writeCode() 440 unsigned Len = EltRange.getEnd().getRawEncoding() - in writeCode()
|
/freebsd/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/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()
|
H A D | HTMLDiagnostics.cpp | 728 return !(Range.getBegin().isMacroID() || Range.getEnd().isMacroID()); in shouldDisplayPopUpRange() 738 html::HighlightRange(R, Range.getBegin(), Range.getEnd(), "", in HandlePopUpPieceStartTag() 771 html::HighlightRange(R, Range.getBegin(), Range.getEnd(), in HandlePopUpPieceEndTag() 776 html::HighlightRange(R, Range.getBegin(), Range.getEnd(), "", Buf.c_str(), in HandlePopUpPieceEndTag() 1236 HighlightRange(R, BugFileID, LPair.getEnd().asRange().getBegin(), in ProcessControlFlowPiece() 1253 SourceLocation InstantiationEnd = SM.getExpansionLoc(Range.getEnd()); in HighlightRange() 1269 EndColNo += Lexer::MeasureTokenLength(Range.getEnd(), SM, LangOpts)-1; in HighlightRange()
|
/freebsd/contrib/llvm-project/clang/lib/Edit/ |
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() 862 SourceLocation LitE = LitInfo.WithoutSuffRange.getEnd(); in rewriteToNumberLiteral()
|
/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | ParsedAttr.cpp | 325 if (Second.Range.getEnd().isValid()) in takeAndConcatenateAttrs() 326 Result.Range.setEnd(Second.Range.getEnd()); in takeAndConcatenateAttrs() 328 Result.Range.setEnd(First.Range.getEnd()); in takeAndConcatenateAttrs()
|
/freebsd/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/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 | 159 InsertionPoint.setEnd(References[References.size() - 1].Range.getEnd()); in analyze() 244 return getSourceText(Range.getBegin(), Range.getEnd()); in getSourceText() 329 getSourceText(Reference.Range.getBegin(), Reference.Range.getEnd()); in appendReference() 356 Buffer += getSourceText(Reference.SymbolsEnd, Reference.Range.getEnd()); in appendReference()
|
/freebsd/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() 643 if (!Range.getEnd().isFileID()) in MacroExpands() 648 !SM.isBeforeInTranslationUnit(LastExpansionEnd, Range.getEnd())) in MacroExpands() 660 Collector->Expansions[Range.getBegin()] = Range.getEnd(); in MacroExpands() 661 LastExpansionEnd = Range.getEnd(); in MacroExpands()
|
/freebsd/contrib/llvm-project/clang/include/clang/Basic/ |
H A D | SourceLocation.h | 223 SourceLocation getEnd() const { return E; } 287 SourceLocation getEnd() const { return Range.getEnd(); }
|
/freebsd/contrib/llvm-project/clang/lib/ARCMigrate/ |
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()
|
/freebsd/contrib/llvm-project/clang/lib/Analysis/ |
H A D | MacroExpansionContext.cpp | 42 if (Range.getBegin() == Range.getEnd()) in MacroExpands() 47 return SM.getExpansionLoc(Range.getEnd()).getLocWithOffset(1); in MacroExpands()
|
/freebsd/contrib/llvm-project/clang/include/clang/AST/ |
H A D | NestedNameSpecifier.h | 306 return getSourceRange().getEnd(); in getEndLoc() 318 return getLocalSourceRange().getEnd(); in getLocalEndLoc()
|