| /freebsd-13.1/contrib/llvm-project/clang/lib/Sema/ |
| H A D | UsedDeclVisitor.h | 48 asImpl().visitUsedDecl(Node->getBeginLoc(), Node->getCapturedDecl()); in VisitCapturedStmt() 54 E->getBeginLoc(), in VisitCXXBindTemporaryExpr() 61 asImpl().visitUsedDecl(E->getBeginLoc(), E->getOperatorNew()); in VisitCXXNewExpr() 63 asImpl().visitUsedDecl(E->getBeginLoc(), E->getOperatorDelete()); in VisitCXXNewExpr() 69 asImpl().visitUsedDecl(E->getBeginLoc(), E->getOperatorDelete()); in VisitCXXDeleteExpr() 75 asImpl().visitUsedDecl(E->getBeginLoc(), S.LookupDestructor(Record)); in VisitCXXDeleteExpr() 83 asImpl().visitUsedDecl(E->getBeginLoc(), E->getConstructor()); in VisitCXXConstructExpr()
|
| H A D | SemaStmtAsm.cpp | 236 return Clobbers[i]->getBeginLoc(); in getClobberConflictLocation() 273 targetDiag(Literal->getBeginLoc(), in ActOnGCCAsmStmt() 335 return StmtError(Diag(OutputExpr->getBeginLoc(), in ActOnGCCAsmStmt() 392 return StmtError(Diag(InputExpr->getBeginLoc(), in ActOnGCCAsmStmt() 451 return targetDiag(InputExpr->getBeginLoc(), in ActOnGCCAsmStmt() 475 UnwindClobberLoc = Literal->getBeginLoc(); in ActOnGCCAsmStmt() 540 targetDiag(Exprs[ConstraintIdx]->getBeginLoc(), in ActOnGCCAsmStmt() 562 targetDiag(NS->getOutputExpr(i)->getBeginLoc(), in ActOnGCCAsmStmt() 577 targetDiag(NS->getInputExpr(i)->getBeginLoc(), in ActOnGCCAsmStmt() 596 targetDiag(NS->getInputExpr(i)->getBeginLoc(), in ActOnGCCAsmStmt() [all …]
|
| H A D | AnalysisBasedWarnings.cpp | 794 CharSourceRange::getCharRange(If->getBeginLoc(), Then->getBeginLoc())); in CreateIfFixit() 804 If->getBeginLoc(), Else->getBeginLoc())); in CreateIfFixit() 1024 S.Diag(BE->getBeginLoc(), in DiagnoseUninitializedUse() 1127 S.Diag(AS->getBeginLoc(), in checkFallThroughIntoBlock() 1295 S.Diag(Label->getBeginLoc(), in DiagnoseSwitchLabelsFallthrough() 1300 SourceLocation L = Label->getBeginLoc(); in DiagnoseSwitchLabelsFallthrough() 1494 S.Diag(FirstRead->getBeginLoc(), DiagKind) in diagnoseRepeatedUseOfWeak() 1502 S.Diag(Use.getUseExpr()->getBeginLoc(), in diagnoseRepeatedUseOfWeak() 1591 return a.getUser()->getBeginLoc() < b.getUser()->getBeginLoc(); in flushDiagnostics() 1723 S.Diag(Where->getBeginLoc(), DiagToReport) in handleCapturedNeverCalled() [all …]
|
| H A D | SemaChecking.cpp | 916 S.Diag(TheCall->getBeginLoc(), in checkOpenCLEnqueueVariadicArgs() 956 S.Diag(TheCall->getBeginLoc(), in SemaOpenCLBuiltinEnqueueKernel() 1004 S.Diag(Arg3->getBeginLoc(), in SemaOpenCLBuiltinEnqueueKernel() 1067 S.Diag(TheCall->getBeginLoc(), in SemaOpenCLBuiltinEnqueueKernel() 1101 S.Diag(Arg0->getBeginLoc(), in checkOpenCLPipeArg() 1115 S.Diag(Arg0->getBeginLoc(), in checkOpenCLPipeArg() 1988 Diag(TheCall->getBeginLoc(), in CheckBuiltinFunctionCall() 6064 Diag(DRE->getBeginLoc(), in SemaBuiltinNontemporalOverloaded() 9493 Ex->getBeginLoc(), in HandleScanfSpecifier() 9553 FExpr->getBeginLoc(), in CheckFormatString() [all …]
|
| H A D | JumpDiagnostics.cpp | 325 Scopes.push_back(GotoScope(ParentScope, Diag, 0, S->getBeginLoc())); in BuildScopeInformation() 391 Scopes.push_back(GotoScope(ParentScope, Diag, 0, IS->getBeginLoc())); in BuildScopeInformation() 396 Scopes.push_back(GotoScope(ParentScope, Diag, 0, IS->getBeginLoc())); in BuildScopeInformation() 608 ED->getStructuredBlock()->getBeginLoc()); in BuildScopeInformation() 681 Loc = CS->getBeginLoc(); in VerifyJumps() 683 Loc = DS->getBeginLoc(); in VerifyJumps() 685 Loc = SC->getBeginLoc(); in VerifyJumps() 720 S.Diag(GotoJumps[0]->getBeginLoc(), in VerifyIndirectOrAsmJumps() 903 S.Diag(Jump->getBeginLoc(), in DiagnoseIndirectOrAsmJump() 934 S.Diag(From->getBeginLoc(), diag::warn_jump_out_of_seh_finally); in CheckJump() [all …]
|
| H A D | TreeTransform.h | 4125 SemaRef.Diag(TL.getBeginLoc(), in TransformNestedNameSpecifierLoc() 4745 SourceLocation Loc = TL.getBeginLoc(); in RebuildQualifiedType() 5859 TL.getBeginLoc(), TL.getParams(), in TransformFunctionProtoType() 5885 TL.getBeginLoc(), TL.getParams(), in TransformFunctionProtoType() 9053 D->getBeginLoc()); in TransformOMPTeamsDistributeParallelForSimdDirective() 9099 D->getBeginLoc()); in TransformOMPTargetTeamsDistributeParallelForDirective() 9112 D->getBeginLoc()); in TransformOMPTargetTeamsDistributeParallelForSimdDirective() 11893 E->getBeginLoc(), E->isGlobalNew(), in TransformCXXNewExpr() 12304 E->getBody()->getBeginLoc()); in TransformRequiresExpr() 14655 LBrace = Callee->getBeginLoc(); in RebuildCXXOperatorCallExpr() [all …]
|
| H A D | SemaStmt.cpp | 708 : St->getBeginLoc(); in checkMustTailAttr() 738 Diag(CE->getDirectCallee()->getBeginLoc(), in checkMustTailAttr() 1372 checkCaseValue(*this, Hi->getBeginLoc(), HiVal, in ActOnFinishSwitchStmt() 1436 Diag(OverlapStmt->getLHS()->getBeginLoc(), in ActOnFinishSwitchStmt() 1867 Second->getBeginLoc())) in CheckForLoopConditionalStatement() 2045 Third->getBeginLoc())) in CheckForRedundantIteration() 2481 SourceLocation RangeLoc = Range->getBeginLoc(); in ActOnCXXForRangeStmt() 2901 PartialDiagnosticAt(Range->getBeginLoc(), in BuildCXXForRangeStmt() 3181 ForStmt->getBeginLoc()) && in DiagnoseForRangeVariableCopies() 3183 ForStmt->getBeginLoc()) && in DiagnoseForRangeVariableCopies() [all …]
|
| H A D | SemaInit.cpp | 230 S.Diag(Str->getBeginLoc(), in CheckStringInit() 236 S.Diag(Str->getBeginLoc(), in CheckStringInit() 1587 SemaRef.Diag(expr->getBeginLoc(), in CheckScalarType() 1637 SemaRef.Diag(IList->getBeginLoc(), in CheckReferenceType() 2027 << InitExpr->getBeginLoc(); in CheckFlexibleArrayInit() 2422 DIE->getBeginLoc(), Init->getBeginLoc(), Init->getEndLoc()); in CheckDesignatedInitializer() 6205 return Initializer->getBeginLoc(); in getInitializationLoc() 7889 S.Diag(CE->getBeginLoc(), DiagID); in CheckMoveOnConstruction() 9827 S.Diag(PostInit->getBeginLoc(), in DiagnoseNarrowingInInitList() 9838 S.Diag(PostInit->getBeginLoc(), in DiagnoseNarrowingInInitList() [all …]
|
| H A D | SemaExprObjC.cpp | 405 Element->getBeginLoc(), SourceLocation()); in CheckObjCCollectionLiteralElement() 485 S.Diag(Element->getBeginLoc(), in CheckObjCCollectionLiteralElement() 497 Element->getBeginLoc(), Element); in CheckObjCCollectionLiteralElement() 1112 << SourceRange(Element.Key->getBeginLoc(), in BuildObjCDictionaryLiteral() 1900 Diag(Args[NumNamedArgs]->getBeginLoc(), in CheckMessageArgumentTypes() 1904 << SourceRange(Args[NumNamedArgs]->getBeginLoc(), in CheckMessageArgumentTypes() 2533 S.Diag(ImpliedMethod->getBeginLoc(), in checkFoundationAPI() 4055 S.Diag(castExpr->getBeginLoc(), in CheckObjCBridgeNSCast() 4100 S.Diag(castExpr->getBeginLoc(), in CheckObjCBridgeCFCast() 4115 S.Diag(castExpr->getBeginLoc(), in CheckObjCBridgeCFCast() [all …]
|
| /freebsd-13.1/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | ExprCXX.h | 156 ? getBeginLoc() in getExprLoc() 223 return getBeginLoc(); in getExprLoc() 701 return getArg(0)->getBeginLoc(); in getBeginLoc() 811 return SubExpr->getBeginLoc(); in getBeginLoc() 1439 return SubExpr->getBeginLoc(); in getBeginLoc() 2641 return Base->getBeginLoc(); in getBeginLoc() 3154 return l.getBeginLoc(); in getBeginLoc() 3387 return SubExpr->getBeginLoc(); in getBeginLoc() 3765 return Base->getBeginLoc(); in getBeginLoc() 3934 return Base->getBeginLoc(); in getBeginLoc() [all …]
|
| H A D | ExprObjC.h | 592 SourceLocation getBeginLoc() const LLVM_READONLY { in getBeginLoc() function 778 SourceLocation getBeginLoc() const LLVM_READONLY { in getBeginLoc() function 779 return isObjectReceiver() ? getBase()->getBeginLoc() in getBeginLoc() 874 SourceLocation getBeginLoc() const LLVM_READONLY { in getBeginLoc() function 875 return SubExprs[BASE]->getBeginLoc(); in getBeginLoc() 1411 return getBeginLoc(); in getSelectorStartLoc() 1520 SourceLocation getBeginLoc() const LLVM_READONLY { in getBeginLoc() function 1521 return getBase()->getBeginLoc(); in getBeginLoc() 1603 SourceLocation getBeginLoc() const LLVM_READONLY { in getBeginLoc() function 1604 return Operand->getBeginLoc(); in getBeginLoc() [all …]
|
| H A D | StmtCXX.h | 43 SourceLocation getBeginLoc() const LLVM_READONLY { return CatchLoc; } in getBeginLoc() function 92 SourceLocation getBeginLoc() const LLVM_READONLY { return getTryLoc(); } in getBeginLoc() function 206 SourceLocation getBeginLoc() const LLVM_READONLY { return ForLoc; } in getBeginLoc() function 296 SourceLocation getBeginLoc() const LLVM_READONLY { return KeywordLoc; } in getBeginLoc() function 421 SourceLocation getBeginLoc() const LLVM_READONLY { in getBeginLoc() function 422 return getBody() ? getBody()->getBeginLoc() in getBeginLoc() 423 : getPromiseDecl()->getBeginLoc(); in getBeginLoc() 492 SourceLocation getBeginLoc() const LLVM_READONLY { return CoreturnLoc; } in getBeginLoc() function 494 return getOperand() ? getOperand()->getEndLoc() : getBeginLoc(); in getEndLoc()
|
| H A D | StmtObjC.h | 57 SourceLocation getBeginLoc() const LLVM_READONLY { return ForLoc; } in getBeginLoc() function 110 SourceLocation getBeginLoc() const LLVM_READONLY { return AtCatchLoc; } in getBeginLoc() function 143 SourceLocation getBeginLoc() const LLVM_READONLY { return AtFinallyLoc; } in getBeginLoc() function 252 SourceLocation getBeginLoc() const LLVM_READONLY { return AtTryLoc; } in getBeginLoc() function 313 SourceLocation getBeginLoc() const LLVM_READONLY { return AtSynchronizedLoc; } in getBeginLoc() function 351 SourceLocation getBeginLoc() const LLVM_READONLY { return AtThrowLoc; } in getBeginLoc() function 383 SourceLocation getBeginLoc() const LLVM_READONLY { return AtLoc; } in getBeginLoc() function
|
| H A D | Expr.h | 1076 return SubExpr->getBeginLoc(); in getBeginLoc() 1722 return Val->getBeginLoc(); in getBeginLoc() 2676 return getLHS()->getBeginLoc(); in getBeginLoc() 2753 return getBase()->getBeginLoc(); in getBeginLoc() 3441 return Init->getBeginLoc(); in getBeginLoc() 3658 return getSubExpr()->getBeginLoc(); in getBeginLoc() 3851 return getLHS()->getBeginLoc(); in getBeginLoc() 4172 return getCond()->getBeginLoc(); in getBeginLoc() 4255 return getCommon()->getBeginLoc(); in getBeginLoc() 5441 return getCommonExpr()->getBeginLoc(); in getBeginLoc() [all …]
|
| H A D | Comment.h | 216 SourceLocation getBeginLoc() const LLVM_READONLY { return Range.getBegin(); } in getBeginLoc() function 349 return SourceRange(getBeginLoc().getLocWithOffset(-1), getEndLoc()); in getCommandNameRange() 563 setSourceRange(SourceRange(Content.front()->getBeginLoc(), in ParagraphComment() 565 setLocation(Content.front()->getBeginLoc()); in ParagraphComment() 659 return getBeginLoc().getLocWithOffset(1); in getCommandNameBeginLoc() 665 getBeginLoc().getLocWithOffset(1 + Name.size())); in getCommandNameRange() 685 setSourceRange(SourceRange(getBeginLoc(), NewLocEnd)); in setArgs() 701 setSourceRange(SourceRange(getBeginLoc(), NewLocEnd)); in setParagraph() 1103 SourceRange(Blocks.front()->getBeginLoc(), Blocks.back()->getEndLoc())); in FullComment() 1104 setLocation(Blocks.front()->getBeginLoc()); in FullComment()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/ARCMigrate/ |
| H A D | TransAutoreleasePool.cpp | 139 scope.CompoundParent->getBeginLoc()); in ~AutoreleasePoolRewriter() 144 scope.CompoundParent->getBeginLoc()); in ~AutoreleasePoolRewriter() 243 return SourceRange((*rangeS)->getBeginLoc(), (*rangeE)->getEndLoc()); in getIndentedRange() 258 ScopeRange = SourceRange((*scope.Begin)->getBeginLoc(), in NameReferenceChecker() 259 (*scope.End)->getBeginLoc()); in NameReferenceChecker() 267 return checkRef(TL.getBeginLoc(), TL.getTypedefNameDecl()->getLocation()); in VisitTypedefTypeLoc() 271 return checkRef(TL.getBeginLoc(), TL.getDecl()->getLocation()); in VisitTagTypeLoc() 330 (*scope.Begin)->getBeginLoc()); in handlePoolScope() 332 (*scope.End)->getBeginLoc()); in handlePoolScope()
|
| H A D | TransUnbridgedCasts.cpp | 211 E->getBeginLoc())) { in rewriteToBridgedCast() 227 diag::err_arc_cast_requires_bridge, E->getBeginLoc()); in rewriteToBridgedCast() 232 SourceLocation insertLoc = E->getSubExpr()->getBeginLoc(); in rewriteToBridgedCast() 252 SourceLocation InsertLoc = WrapE->getBeginLoc(); in rewriteToBridgedCast() 369 Pass.TA.reportError(err, E->getBeginLoc(), in transformObjCToNonObjCCast() 381 Pass.TA.reportNote(note, retS->getBeginLoc()); in transformObjCToNonObjCCast()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Analysis/ |
| H A D | ReachableCode.cpp | 156 SourceLocation L = S->getBeginLoc(); in isExpandedFromConfigurationMacro() 204 if (!PE->getBeginLoc().isMacroID()) in isConfigurationValue() 450 if (S->getBeginLoc().isInvalid()) in isValidDeadStmt() 477 if (p1->second->getBeginLoc() < p2->second->getBeginLoc()) in SrcCmp() 479 if (p2->second->getBeginLoc() < p1->second->getBeginLoc()) in SrcCmp() 512 if (S->getBeginLoc().isMacroID()) { in scanBackwards() 595 return CE->getBeginLoc(); in GetUnreachableLoc() 608 return S->getBeginLoc(); in GetUnreachableLoc() 634 SourceLocation Loc = LoopTarget->getBeginLoc(); in reportDeadCode() 639 Loc = Inc->getBeginLoc(); in reportDeadCode()
|
| H A D | CloneDetection.cpp | 48 SM.isBeforeInTranslationUnit(getBeginLoc(), Other.getBeginLoc()) || in contains() 49 getBeginLoc() == Other.getBeginLoc(); in contains() 80 SourceLocation StmtSequence::getBeginLoc() const { in getBeginLoc() function in StmtSequence 81 return front()->getBeginLoc(); in getBeginLoc() 87 return SourceRange(getBeginLoc(), getEndLoc()); in getSourceRange() 431 data_collection::getMacroStack(Seq.getBeginLoc(), Context); in calculateStmtComplexity()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Tooling/Transformer/ |
| H A D | SourceCode.cpp | 328 if (SM.isBeforeInTranslationUnit(T->getBeginLoc(), Range.getBegin())) in getAssociatedRange() 329 Range.setBegin(T->getBeginLoc()); in getAssociatedRange() 332 if (SM.isBeforeInTranslationUnit(T->getBeginLoc(), Range.getBegin())) in getAssociatedRange() 333 Range.setBegin(T->getBeginLoc()); in getAssociatedRange() 353 if (SM.isBeforeInTranslationUnit(Comment->getBeginLoc(), in getAssociatedRange() 362 Range.setBegin(Comment->getBeginLoc()); in getAssociatedRange()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/AST/Interp/ |
| H A D | ByteCodeGenError.h | 24 ByteCodeGenError(const Stmt *S) : ByteCodeGenError(S->getBeginLoc()) {} in ByteCodeGenError() 25 ByteCodeGenError(const Decl *D) : ByteCodeGenError(D->getBeginLoc()) {} in ByteCodeGenError()
|
| H A D | Source.cpp | 19 return S->getBeginLoc(); in getLoc() 21 return D->getBeginLoc(); in getLoc()
|
| /freebsd-13.1/contrib/llvm-project/lldb/tools/lldb-instr/ |
| H A D | Instrument.cpp | 142 if (E->getBeginLoc().isMacroID()) in VisitReturnStmt() 145 SourceRange R(E->getBeginLoc(), E->getEndLoc()); in VisitReturnStmt() 177 if (C->getBeginLoc().isMacroID()) in VisitCXXMethodDecl() 241 Body->getBeginLoc(), 0, MyRewriter.getSourceMgr(), in VisitCXXMethodDecl() 269 if (!MyRewriter.getSourceMgr().isInMainFile(Decl->getBeginLoc())) in ShouldSkip()
|
| /freebsd-13.1/contrib/llvm-project/clang/include/clang/Tooling/Refactoring/ |
| H A D | RecursiveSymbolVisitor.h | 87 const SourceLocation TypeBeginLoc = Loc.getBeginLoc(); in VisitTypeLoc() 110 Lexer::getLocForEndOfToken(TL.getBeginLoc(), 0, SM, LangOpts); in VisitTypedefTypeLoc() 111 return visit(TL.getTypedefNameDecl(), TL.getBeginLoc(), TypeEndLoc); in VisitTypedefTypeLoc()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGStmtOpenMP.cpp | 485 CapVar ? CapVar->getBeginLoc() : FD->getBeginLoc(), in emitOutlinedFunctionPrologue() 1448 *this, D.getBeginLoc(), in EmitOMPReductionClauseFinal() 2688 SourceLocation Loc = S.getBeginLoc(); in EmitOMPOuterLoop() 3705 S.getBeginLoc(), FPOptionsOverride()); in EmitSections() 3709 S.getBeginLoc(), true, FPOptionsOverride()); in EmitSections() 3962 *this, S.getBeginLoc(), in EmitOMPSingleDirective() 4353 *this, S.getBeginLoc(), LHSs, RHSs, Data); in EmitOMPTaskBasedDirective() 4835 S.getBeginLoc(), AO); in EmitOMPFlushDirective() 4846 *this, Dependencies, DC->getBeginLoc()); in EmitOMPDepobjDirective() 5924 S.getBeginLoc()); in EmitOMPAtomicDirective() [all …]
|