Home
last modified time | relevance | path

Searched refs:getBeginLoc (Results 1 – 25 of 181) sorted by relevance

12345678

/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DSemaStmtAsm.cpp238 return Clobbers[i]->getBeginLoc(); in getClobberConflictLocation()
276 targetDiag(Literal->getBeginLoc(), in ActOnGCCAsmStmt()
384 return StmtError(Diag(InputExpr->getBeginLoc(), in ActOnGCCAsmStmt()
422 Diag(InputExpr->getBeginLoc(), in ActOnGCCAsmStmt()
460 return targetDiag(InputExpr->getBeginLoc(), in ActOnGCCAsmStmt()
484 UnwindClobberLoc = Literal->getBeginLoc(); in ActOnGCCAsmStmt()
549 targetDiag(Exprs[ConstraintIdx]->getBeginLoc(), in ActOnGCCAsmStmt()
571 targetDiag(NS->getOutputExpr(i)->getBeginLoc(), in ActOnGCCAsmStmt()
586 targetDiag(NS->getInputExpr(i)->getBeginLoc(), in ActOnGCCAsmStmt()
605 targetDiag(NS->getInputExpr(i)->getBeginLoc(), in ActOnGCCAsmStmt()
[all …]
H A DUsedDeclVisitor.h48 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()
76 asImpl().visitUsedDecl(E->getBeginLoc(), S.LookupDestructor(Record)); in VisitCXXDeleteExpr()
84 asImpl().visitUsedDecl(E->getBeginLoc(), E->getConstructor()); in VisitCXXConstructExpr()
H A DAnalysisBasedWarnings.cpp821 CharSourceRange::getCharRange(If->getBeginLoc(), Then->getBeginLoc())); in CreateIfFixit()
831 If->getBeginLoc(), Else->getBeginLoc())); in CreateIfFixit()
1051 S.Diag(BE->getBeginLoc(), in DiagnoseUninitializedUse()
1150 S.Diag(AS->getBeginLoc(), in checkFallThroughIntoBlock()
1315 S.Diag(Label->getBeginLoc(), in DiagnoseSwitchLabelsFallthrough()
1320 SourceLocation L = Label->getBeginLoc(); in DiagnoseSwitchLabelsFallthrough()
1514 S.Diag(FirstRead->getBeginLoc(), DiagKind) in diagnoseRepeatedUseOfWeak()
1522 S.Diag(Use.getUseExpr()->getBeginLoc(), in diagnoseRepeatedUseOfWeak()
1610 return a.getUser()->getBeginLoc() < b.getUser()->getBeginLoc(); in flushDiagnostics()
2280 Loc = Operation->getBeginLoc(); in handleUnsafeOperation()
[all …]
H A DSemaChecking.cpp1572 S.Diag(TheCall->getBeginLoc(), in checkOpenCLEnqueueVariadicArgs()
1612 S.Diag(TheCall->getBeginLoc(), in SemaOpenCLBuiltinEnqueueKernel()
1660 S.Diag(Arg3->getBeginLoc(), in SemaOpenCLBuiltinEnqueueKernel()
1723 S.Diag(TheCall->getBeginLoc(), in SemaOpenCLBuiltinEnqueueKernel()
1757 S.Diag(Arg0->getBeginLoc(), in checkOpenCLPipeArg()
1771 S.Diag(Arg0->getBeginLoc(), in checkOpenCLPipeArg()
6092 Diag(DRE->getBeginLoc(), in CheckRISCVBuiltinFunctionCall()
8859 Diag(DRE->getBeginLoc(), in SemaBuiltinNontemporalOverloaded()
12549 Ex->getBeginLoc(), in HandleScanfSpecifier()
12604 FExpr->getBeginLoc(), in CheckFormatString()
[all …]
H A DJumpDiagnostics.cpp323 Scopes.push_back(GotoScope(ParentScope, Diag, 0, S->getBeginLoc())); in BuildScopeInformation()
384 Scopes.push_back(GotoScope(ParentScope, Diag, 0, IS->getBeginLoc())); in BuildScopeInformation()
391 Scopes.push_back(GotoScope(ParentScope, Diag, 0, IS->getBeginLoc())); in BuildScopeInformation()
479 /*OutDiag=*/0, SE->getBeginLoc())); in BuildScopeInformation()
617 ED->getStructuredBlock()->getBeginLoc()); in BuildScopeInformation()
706 Loc = CS->getBeginLoc(); in VerifyJumps()
708 Loc = DS->getBeginLoc(); in VerifyJumps()
710 Loc = SC->getBeginLoc(); in VerifyJumps()
740 S.Diag(IndirectJumps[0]->getBeginLoc(), in VerifyIndirectJumps()
909 S.Diag(Jump->getBeginLoc(), in DiagnoseIndirectOrAsmJump()
[all …]
H A DTreeTransform.h4373 SemaRef.Diag(TL.getBeginLoc(), in TransformNestedNameSpecifierLoc()
5009 SourceLocation Loc = TL.getBeginLoc(); in RebuildQualifiedType()
6121 TL.getBeginLoc(), TL.getParams(), in TransformFunctionProtoType()
6147 TL.getBeginLoc(), TL.getParams(), in TransformFunctionProtoType()
9515 D->getBeginLoc()); in TransformOMPTeamsDistributeParallelForSimdDirective()
9561 D->getBeginLoc()); in TransformOMPTargetTeamsDistributeParallelForDirective()
9574 D->getBeginLoc()); in TransformOMPTargetTeamsDistributeParallelForSimdDirective()
11382 if (D->getLocation() == D->getBeginLoc()) { in TransformOMPIteratorExpr()
12588 E->getBeginLoc(), E->isGlobalNew(), in TransformCXXNewExpr()
12997 E->getBody()->getBeginLoc()); in TransformRequiresExpr()
[all …]
H A DSemaStmtAttr.cpp32 << A << St->getBeginLoc(); in handleFallThroughAttr()
95 S.Diag(St->getBeginLoc(), diag::err_pragma_loop_precedes_nonloop) << Pragma; in handleLoopHintAttr()
145 if (ValueExpr && S.CheckLoopHintExpr(ValueExpr, St->getBeginLoc())) in handleLoopHintAttr()
155 if (S.CheckLoopHintExpr(ValueExpr, St->getBeginLoc())) in handleLoopHintAttr()
215 S.Diag(St->getBeginLoc(), diag::warn_attribute_ignored_no_calls_in_stmt) in handleNoMergeAttr()
241 return SemaRef.Diag(CurSt->getBeginLoc(), in CheckStmtInlineAttr()
255 SemaRef.Diag(CurSt->getBeginLoc(), in CheckStmtInlineAttr()
258 SemaRef.Diag(Callee->getBeginLoc(), diag::note_conflicting_attribute); in CheckStmtInlineAttr()
280 S.Diag(St->getBeginLoc(), diag::warn_function_attribute_ignored_in_stmt) in handleNoInlineAttr()
295 S.Diag(St->getBeginLoc(), diag::warn_function_attribute_ignored_in_stmt) in handleAlwaysInlineAttr()
[all …]
H A DSemaStmt.cpp726 : St->getBeginLoc(); in checkMustTailAttr()
756 Diag(CE->getDirectCallee()->getBeginLoc(), in checkMustTailAttr()
1421 checkCaseValue(*this, Hi->getBeginLoc(), HiVal, in ActOnFinishSwitchStmt()
1485 Diag(OverlapStmt->getLHS()->getBeginLoc(), in ActOnFinishSwitchStmt()
1914 Second->getBeginLoc())) in CheckForLoopConditionalStatement()
2092 Third->getBeginLoc())) in CheckForRedundantIteration()
2538 SourceLocation RangeLoc = Range->getBeginLoc(); in ActOnCXXForRangeStmt()
2958 PartialDiagnosticAt(Range->getBeginLoc(), in BuildCXXForRangeStmt()
3238 ForStmt->getBeginLoc()) && in DiagnoseForRangeVariableCopies()
3240 ForStmt->getBeginLoc()) && in DiagnoseForRangeVariableCopies()
[all …]
H A DSemaInit.cpp228 S.Diag(Str->getBeginLoc(), in CheckStringInit()
235 S.Diag(Str->getBeginLoc(), in CheckStringInit()
1641 SemaRef.Diag(expr->getBeginLoc(), in CheckScalarType()
1693 SemaRef.Diag(IList->getBeginLoc(), in CheckReferenceType()
1825 SemaRef.Diag(IList->getBeginLoc(), in CheckVectorType()
2098 << InitExpr->getBeginLoc(); in CheckFlexibleArrayInit()
2565 DIE->getBeginLoc(), Init->getBeginLoc(), Init->getEndLoc()); in CheckDesignatedInitializer()
2740 Loc = IList->getBeginLoc(); in CheckDesignatedInitializer()
6729 return Initializer->getBeginLoc(); in getInitializationLoc()
8436 S.Diag(CE->getBeginLoc(), DiagID); in CheckMoveOnConstruction()
[all …]
/freebsd-14.2/contrib/llvm-project/clang/include/clang/AST/
H A DExprCXX.h155 ? getBeginLoc() in getExprLoc()
222 return getBeginLoc(); in getExprLoc()
700 return getArg(0)->getBeginLoc(); in getBeginLoc()
817 return SubExpr->getBeginLoc(); in getBeginLoc()
1502 return SubExpr->getBeginLoc(); in getBeginLoc()
2725 return Base->getBeginLoc(); in getBeginLoc()
3244 return l.getBeginLoc(); in getBeginLoc()
3476 return SubExpr->getBeginLoc(); in getBeginLoc()
3856 return Base->getBeginLoc(); in getBeginLoc()
4025 return Base->getBeginLoc(); in getBeginLoc()
[all …]
H A DExprObjC.h595 SourceLocation getBeginLoc() const LLVM_READONLY { in getBeginLoc() function
781 SourceLocation getBeginLoc() const LLVM_READONLY { in getBeginLoc() function
782 return isObjectReceiver() ? getBase()->getBeginLoc() in getBeginLoc()
877 SourceLocation getBeginLoc() const LLVM_READONLY { in getBeginLoc() function
878 return SubExprs[BASE]->getBeginLoc(); in getBeginLoc()
1421 return getBeginLoc(); in getSelectorStartLoc()
1529 SourceLocation getBeginLoc() const LLVM_READONLY { in getBeginLoc() function
1530 return getBase()->getBeginLoc(); in getBeginLoc()
1612 SourceLocation getBeginLoc() const LLVM_READONLY { in getBeginLoc() function
1613 return Operand->getBeginLoc(); in getBeginLoc()
[all …]
H A DStmtCXX.h43 SourceLocation getBeginLoc() const LLVM_READONLY { return CatchLoc; } in getBeginLoc() function
93 SourceLocation getBeginLoc() const LLVM_READONLY { return getTryLoc(); } in getBeginLoc() function
207 SourceLocation getBeginLoc() const LLVM_READONLY { return ForLoc; } in getBeginLoc() function
297 SourceLocation getBeginLoc() const LLVM_READONLY { return KeywordLoc; } in getBeginLoc() function
427 SourceLocation getBeginLoc() const LLVM_READONLY { in getBeginLoc() function
428 return getBody() ? getBody()->getBeginLoc() in getBeginLoc()
429 : getPromiseDecl()->getBeginLoc(); in getBeginLoc()
509 SourceLocation getBeginLoc() const LLVM_READONLY { return CoreturnLoc; } in getBeginLoc() function
511 return getOperand() ? getOperand()->getEndLoc() : getBeginLoc(); in getEndLoc()
H A DASTConcept.h181 SourceLocation getBeginLoc() const LLVM_READONLY { in getBeginLoc() function
184 return QualifierLoc.getBeginLoc(); in getBeginLoc()
185 return getConceptNameInfo().getBeginLoc(); in getBeginLoc()
196 return SourceRange(getBeginLoc(), getEndLoc()); in getSourceRange()
H A DStmtObjC.h57 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
256 SourceLocation getBeginLoc() const LLVM_READONLY { return AtTryLoc; } in getBeginLoc() function
338 SourceLocation getBeginLoc() const LLVM_READONLY { return AtSynchronizedLoc; } in getBeginLoc() function
376 SourceLocation getBeginLoc() const LLVM_READONLY { return AtThrowLoc; } in getBeginLoc() function
408 SourceLocation getBeginLoc() const LLVM_READONLY { return AtLoc; } in getBeginLoc() function
H A DExpr.h1111 return SubExpr->getBeginLoc(); in getBeginLoc()
1717 return Val->getBeginLoc(); in getBeginLoc()
2684 return getLHS()->getBeginLoc(); in getBeginLoc()
2761 return getBase()->getBeginLoc(); in getBeginLoc()
3441 return Init->getBeginLoc(); in getBeginLoc()
3671 return getSubExpr()->getBeginLoc(); in getBeginLoc()
3866 return getLHS()->getBeginLoc(); in getBeginLoc()
4188 return getCond()->getBeginLoc(); in getBeginLoc()
4271 return getCommon()->getBeginLoc(); in getBeginLoc()
5514 return getCommonExpr()->getBeginLoc(); in getBeginLoc()
[all …]
H A DComment.h245 SourceLocation getBeginLoc() const LLVM_READONLY { return Range.getBegin(); }
368 return SourceRange(getBeginLoc().getLocWithOffset(-1), getEndLoc());
571 setSourceRange(SourceRange(Content.front()->getBeginLoc(),
573 setLocation(Content.front()->getBeginLoc());
657 return getBeginLoc().getLocWithOffset(1);
663 getBeginLoc().getLocWithOffset(1 + Name.size()));
683 setSourceRange(SourceRange(getBeginLoc(), NewLocEnd));
699 setSourceRange(SourceRange(getBeginLoc(), NewLocEnd));
1095 SourceRange(Blocks.front()->getBeginLoc(), Blocks.back()->getEndLoc()));
1096 setLocation(Blocks.front()->getBeginLoc());
/freebsd-14.2/contrib/llvm-project/clang/lib/ARCMigrate/
H A DTransAutoreleasePool.cpp139 scope.CompoundParent->getBeginLoc()); in ~AutoreleasePoolRewriter()
144 scope.CompoundParent->getBeginLoc()); in ~AutoreleasePoolRewriter()
244 return SourceRange((*rangeS)->getBeginLoc(), (*rangeE)->getEndLoc()); in getIndentedRange()
259 ScopeRange = SourceRange((*scope.Begin)->getBeginLoc(), in NameReferenceChecker()
260 (*scope.End)->getBeginLoc()); in NameReferenceChecker()
268 return checkRef(TL.getBeginLoc(), TL.getTypedefNameDecl()->getLocation()); in VisitTypedefTypeLoc()
272 return checkRef(TL.getBeginLoc(), TL.getDecl()->getLocation()); in VisitTagTypeLoc()
331 (*scope.Begin)->getBeginLoc()); in handlePoolScope()
333 (*scope.End)->getBeginLoc()); in handlePoolScope()
H A DTransUnbridgedCasts.cpp210 E->getBeginLoc())) { in rewriteToBridgedCast()
226 diag::err_arc_cast_requires_bridge, E->getBeginLoc()); in rewriteToBridgedCast()
231 SourceLocation insertLoc = E->getSubExpr()->getBeginLoc(); in rewriteToBridgedCast()
251 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-14.2/contrib/llvm-project/clang/lib/Analysis/
H A DReachableCode.cpp156 SourceLocation L = S->getBeginLoc(); in isExpandedFromConfigurationMacro()
204 if (!PE->getBeginLoc().isMacroID()) in isConfigurationValue()
457 if (S->getBeginLoc().isInvalid()) in isValidDeadStmt()
484 if (p1->second->getBeginLoc() < p2->second->getBeginLoc()) in SrcCmp()
486 if (p2->second->getBeginLoc() < p1->second->getBeginLoc()) in SrcCmp()
519 if (S->getBeginLoc().isMacroID()) { in scanBackwards()
601 return CE->getBeginLoc(); in GetUnreachableLoc()
614 return S->getBeginLoc(); in GetUnreachableLoc()
644 SourceLocation Loc = LoopTarget->getBeginLoc(); in reportDeadCode()
649 Loc = Inc->getBeginLoc(); in reportDeadCode()
H A DCloneDetection.cpp48 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()
430 data_collection::getMacroStack(Seq.getBeginLoc(), Context); in calculateStmtComplexity()
H A DUnsafeBufferUsage.cpp1253 return N1->getBeginLoc().getRawEncoding() < in operator ()()
1254 N2->getBeginLoc().getRawEncoding(); in operator ()()
1567 SourceLocation Begin = D->getBeginLoc(); in getSourceRangeToTokenEnd()
1758 Op->getBeginLoc(), Op->getBeginLoc().getLocWithOffset(1)); in getFixits()
1864 (Offset->IgnoreParens()->getBeginLoc() == Offset->getBeginLoc()); in getFixits()
2195 SourceRange(FD->getBeginLoc(), (*FD->param_begin())->getBeginLoc()), in createOverloadsForFixedParams()
2239 SourceRange(FD->getBeginLoc(), FD->getBody()->getBeginLoc()), SM, in createOverloadsForFixedParams()
2540 VD, F->getBaseStmt()->getBeginLoc(), in getFixIts()
2739 it->first, it->first->getBeginLoc(), in checkUnsafeBufferUsage()
2760 it->first, UnclaimedDRE->getBeginLoc(), in checkUnsafeBufferUsage()
[all …]
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Tooling/Refactoring/
H A DRecursiveSymbolVisitor.h87 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-14.2/contrib/llvm-project/lldb/tools/lldb-instr/
H A DInstrument.cpp58 if (C->getBeginLoc().isMacroID()) { in VisitCXXMethodDecl()
65 Body->getBeginLoc(), 0, MyRewriter.getSourceMgr(), in VisitCXXMethodDecl()
87 if (!MyRewriter.getSourceMgr().isInMainFile(Decl->getBeginLoc())) in ShouldSkip()
/freebsd-14.2/contrib/llvm-project/clang/lib/Tooling/Transformer/
H A DSourceCode.cpp372 if (SM.isBeforeInTranslationUnit(T->getBeginLoc(), Range.getBegin())) in getAssociatedRange()
373 Range.setBegin(T->getBeginLoc()); in getAssociatedRange()
376 if (SM.isBeforeInTranslationUnit(T->getBeginLoc(), Range.getBegin())) in getAssociatedRange()
377 Range.setBegin(T->getBeginLoc()); in getAssociatedRange()
397 if (SM.isBeforeInTranslationUnit(Comment->getBeginLoc(), in getAssociatedRange()
406 Range.setBegin(Comment->getBeginLoc()); in getAssociatedRange()
/freebsd-14.2/contrib/llvm-project/clang/lib/AST/Interp/
H A DSource.cpp19 return S->getBeginLoc(); in getLoc()
21 return D->getBeginLoc(); in getLoc()

12345678