Home
last modified time | relevance | path

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

1234567

/freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/
H A DSemaStmtAsm.cpp73 S.Diag(LVal->getBeginLoc(), diag::err_invalid_asm_cast_lvalue) in emitAndFixInvalidAsmCastLValue()
76 S.Diag(LVal->getBeginLoc(), diag::warn_invalid_asm_cast_lvalue) in emitAndFixInvalidAsmCastLValue()
140 S.Diag(E->getBeginLoc(), diag::err_asm_naked_this_ref); in CheckNakedParmReference()
146 S.Diag(DRE->getBeginLoc(), diag::err_asm_naked_parm_ref); in CheckNakedParmReference()
235 return Clobbers[i]->getBeginLoc(); in getClobberConflictLocation()
325 return StmtError(Diag(OutputExpr->getBeginLoc(), in ActOnGCCAsmStmt()
375 return StmtError(Diag(InputExpr->getBeginLoc(), in ActOnGCCAsmStmt()
397 return StmtError(Diag(InputExpr->getBeginLoc(), in ActOnGCCAsmStmt()
501 Diag(Exprs[ConstraintIdx]->getBeginLoc(), in ActOnGCCAsmStmt()
537 return StmtError(Diag(NS->getInputExpr(i)->getBeginLoc(), in ActOnGCCAsmStmt()
[all …]
H A DAnalysisBasedWarnings.cpp774 CharSourceRange::getCharRange(If->getBeginLoc(), Then->getBeginLoc())); in CreateIfFixit()
784 If->getBeginLoc(), Else->getBeginLoc())); in CreateIfFixit()
996 S.Diag(BE->getBeginLoc(), in DiagnoseUninitializedUse()
1098 S.Diag(AS->getBeginLoc(), in checkFallThroughIntoBlock()
1271 S.Diag(Label->getBeginLoc(), in DiagnoseSwitchLabelsFallthrough()
1276 SourceLocation L = Label->getBeginLoc(); in DiagnoseSwitchLabelsFallthrough()
1479 S.Diag(Use.getUseExpr()->getBeginLoc(), in diagnoseRepeatedUseOfWeak()
1542 return a.getUser()->getBeginLoc() < b.getUser()->getBeginLoc(); in flushDiagnostics()
2074 D->getBeginLoc())) { in IssueWarnings()
2208 D->getBeginLoc())) { in IssueWarnings()
[all …]
H A DSemaChecking.cpp224 S.Diag(Arg.get()->getBeginLoc(), in SemaBuiltinOverflow()
480 S.Diag(TheCall->getBeginLoc(), in checkOpenCLEnqueueVariadicArgs()
566 S.Diag(Arg3->getBeginLoc(), in SemaOpenCLBuiltinEnqueueKernel()
629 S.Diag(TheCall->getBeginLoc(), in SemaOpenCLBuiltinEnqueueKernel()
663 S.Diag(Arg0->getBeginLoc(), in checkOpenCLPipeArg()
677 S.Diag(Arg0->getBeginLoc(), in checkOpenCLPipeArg()
1362 TheCall->getBeginLoc(), in CheckBuiltinFunctionCall()
5226 Diag(DRE->getBeginLoc(), in SemaBuiltinNontemporalOverloaded()
8211 Ex->getBeginLoc(), in HandleScanfSpecifier()
8265 FExpr->getBeginLoc(), in CheckFormatString()
[all …]
H A DTreeTransform.h3636 SemaRef.Diag(TL.getBeginLoc(), in TransformNestedNameSpecifierLoc()
4265 SourceLocation Loc = TL.getBeginLoc(); in RebuildQualifiedType()
5278 TL.getBeginLoc(), TL.getParams(), in TransformFunctionProtoType()
5311 TL.getBeginLoc(), TL.getParams(), in TransformFunctionProtoType()
8203 D->getBeginLoc()); in TransformOMPTeamsDistributeParallelForSimdDirective()
8249 D->getBeginLoc()); in TransformOMPTargetTeamsDistributeParallelForDirective()
8262 D->getBeginLoc()); in TransformOMPTargetTeamsDistributeParallelForSimdDirective()
10339 E->getBeginLoc(), E->isGlobalNew(), in TransformCXXNewExpr()
10340 /*FIXME:*/ E->getBeginLoc(), PlacementArgs, in TransformCXXNewExpr()
12788 LBrace = Callee->getBeginLoc(); in RebuildCXXOperatorCallExpr()
[all …]
H A DSemaInit.cpp197 S.Diag(Str->getBeginLoc(), in CheckStringInit()
203 S.Diag(Str->getBeginLoc(), in CheckStringInit()
1411 SemaRef.Diag(IList->getBeginLoc(), in CheckScalarType()
1485 SemaRef.Diag(IList->getBeginLoc(), in CheckReferenceType()
1617 SemaRef.Diag(IList->getBeginLoc(), in CheckVectorType()
1846 << InitExpr->getBeginLoc(); in CheckFlexibleArrayInit()
5866 return Initializer->getBeginLoc(); in getInitializationLoc()
7196 S.Diag(CE->getBeginLoc(), DiagID); in CheckMoveOnConstruction()
9060 S.Diag(PostInit->getBeginLoc(), in DiagnoseNarrowingInInitList()
9071 S.Diag(PostInit->getBeginLoc(), in DiagnoseNarrowingInInitList()
[all …]
H A DSemaExprObjC.cpp403 Element->getBeginLoc(), SourceLocation()); in CheckObjCCollectionLiteralElement()
483 S.Diag(Element->getBeginLoc(), in CheckObjCCollectionLiteralElement()
495 Element->getBeginLoc(), Element); in CheckObjCCollectionLiteralElement()
1036 << SourceRange(Element.Key->getBeginLoc(), in BuildObjCDictionaryLiteral()
1722 Diag(Args[NumNamedArgs]->getBeginLoc(), in CheckMessageArgumentTypes()
1726 << SourceRange(Args[NumNamedArgs]->getBeginLoc(), in CheckMessageArgumentTypes()
2352 S.Diag(ImpliedMethod->getBeginLoc(), in checkFoundationAPI()
3830 S.Diag(castExpr->getBeginLoc(), in CheckObjCBridgeNSCast()
3875 S.Diag(castExpr->getBeginLoc(), in CheckObjCBridgeCFCast()
3890 S.Diag(castExpr->getBeginLoc(), in CheckObjCBridgeCFCast()
[all …]
H A DJumpDiagnostics.cpp302 Scopes.push_back(GotoScope(ParentScope, Diag, 0, S->getBeginLoc())); in BuildScopeInformation()
356 Scopes.push_back(GotoScope(ParentScope, Diag, 0, IS->getBeginLoc())); in BuildScopeInformation()
361 Scopes.push_back(GotoScope(ParentScope, Diag, 0, IS->getBeginLoc())); in BuildScopeInformation()
365 Scopes.push_back(GotoScope(ParentScope, Diag, 0, IS->getBeginLoc())); in BuildScopeInformation()
622 Loc = CS->getBeginLoc(); in VerifyJumps()
624 Loc = DS->getBeginLoc(); in VerifyJumps()
626 Loc = SC->getBeginLoc(); in VerifyJumps()
866 S.Diag(From->getBeginLoc(), diag::warn_jump_out_of_seh_finally); in CheckJump()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/AST/
H A DExprCXX.h135 ? getBeginLoc() in getExprLoc()
210 return getBeginLoc(); in getExprLoc()
542 return getArg(0)->getBeginLoc(); in getBeginLoc()
645 return SubExpr->getBeginLoc(); in getBeginLoc()
1245 return SubExpr->getBeginLoc(); in getBeginLoc()
2410 return Base->getBeginLoc(); in getBeginLoc()
2909 return l.getBeginLoc(); in getBeginLoc()
3132 return SubExpr->getBeginLoc(); in getBeginLoc()
3499 return Base->getBeginLoc(); in getBeginLoc()
3662 return Base->getBeginLoc(); in getBeginLoc()
[all …]
H A DExprObjC.h559 SourceLocation getBeginLoc() const LLVM_READONLY {
745 SourceLocation getBeginLoc() const LLVM_READONLY {
746 return isObjectReceiver() ? getBase()->getBeginLoc()
842 SourceLocation getBeginLoc() const LLVM_READONLY {
843 return SubExprs[BASE]->getBeginLoc();
1368 return getBeginLoc();
1476 SourceLocation getBeginLoc() const LLVM_READONLY {
1477 return getBase()->getBeginLoc();
1553 SourceLocation getBeginLoc() const LLVM_READONLY {
1554 return Operand->getBeginLoc();
[all …]
H A DStmtCXX.h44 SourceLocation getBeginLoc() const LLVM_READONLY { return CatchLoc; } in getBeginLoc() function
89 SourceLocation getBeginLoc() const LLVM_READONLY { return getTryLoc(); } in getBeginLoc() function
199 SourceLocation getBeginLoc() const LLVM_READONLY { return ForLoc; } in getBeginLoc() function
285 SourceLocation getBeginLoc() const LLVM_READONLY { return KeywordLoc; } in getBeginLoc() function
406 SourceLocation getBeginLoc() const LLVM_READONLY { in getBeginLoc() function
407 return getBody() ? getBody()->getBeginLoc() in getBeginLoc()
408 : getPromiseDecl()->getBeginLoc(); in getBeginLoc()
471 SourceLocation getBeginLoc() const LLVM_READONLY { return CoreturnLoc; } in getBeginLoc() function
473 return getOperand() ? getOperand()->getEndLoc() : getBeginLoc(); in getEndLoc()
H A DStmtObjC.h58 SourceLocation getBeginLoc() const LLVM_READONLY { return ForLoc; } in getBeginLoc() function
107 SourceLocation getBeginLoc() const LLVM_READONLY { return AtCatchLoc; } in getBeginLoc() function
136 SourceLocation getBeginLoc() const LLVM_READONLY { return AtFinallyLoc; } in getBeginLoc() function
241 SourceLocation getBeginLoc() const LLVM_READONLY { return AtTryLoc; } in getBeginLoc() function
298 SourceLocation getBeginLoc() const LLVM_READONLY { return AtSynchronizedLoc; } in getBeginLoc() function
332 SourceLocation getBeginLoc() const LLVM_READONLY { return AtThrowLoc; } in getBeginLoc() function
360 SourceLocation getBeginLoc() const LLVM_READONLY { return AtLoc; } in getBeginLoc() function
H A DExpr.h919 return SubExpr->getBeginLoc(); in getBeginLoc()
1534 return Val->getBeginLoc(); in getBeginLoc()
2362 return getLHS()->getBeginLoc(); in getBeginLoc()
2978 return Init->getBeginLoc(); in getBeginLoc()
3153 return getSubExpr()->getBeginLoc(); in getBeginLoc()
3338 return getLHS()->getBeginLoc(); in getBeginLoc()
3636 return getCond()->getBeginLoc(); in getBeginLoc()
3724 return getCommon()->getBeginLoc(); in getBeginLoc()
4842 return getCommonExpr()->getBeginLoc(); in getBeginLoc()
5161 return getBase()->getBeginLoc(); in getBeginLoc()
[all …]
H A DComment.h218 SourceLocation getBeginLoc() const LLVM_READONLY { return Range.getBegin(); } in getBeginLoc() function
350 return SourceRange(getBeginLoc().getLocWithOffset(-1), getEndLoc()); in getCommandNameRange()
564 setSourceRange(SourceRange(Content.front()->getBeginLoc(), in ParagraphComment()
566 setLocation(Content.front()->getBeginLoc()); in ParagraphComment()
660 return getBeginLoc().getLocWithOffset(1); in getCommandNameBeginLoc()
666 getBeginLoc().getLocWithOffset(1 + Name.size())); in getCommandNameRange()
686 setSourceRange(SourceRange(getBeginLoc(), NewLocEnd)); in setArgs()
702 setSourceRange(SourceRange(getBeginLoc(), NewLocEnd)); in setParagraph()
1104 SourceRange(Blocks.front()->getBeginLoc(), Blocks.back()->getEndLoc())); in FullComment()
1105 setLocation(Blocks.front()->getBeginLoc()); in FullComment()
H A DRawCommentList.h104 SourceLocation getBeginLoc() const LLVM_READONLY { return Range.getBegin(); } in getBeginLoc() function
183 return SM.isBeforeInTranslationUnit(LHS.getBeginLoc(), RHS.getBeginLoc()); in operator()
H A DStmt.h1039 SourceLocation getBeginLoc() const LLVM_READONLY; in alignas()
1228 SourceLocation getBeginLoc() const { return getSemiLoc(); } in getBeginLoc() function
1619 SourceLocation getBeginLoc() const { return getIdentLoc(); } in getBeginLoc() function
1676 SourceLocation getBeginLoc() const { return getAttrLoc(); } in getBeginLoc() function
1865 SourceLocation getBeginLoc() const { return getIfLoc(); } in getBeginLoc() function
2221 SourceLocation getBeginLoc() const { return getDoLoc(); } in getBeginLoc() function
2290 SourceLocation getBeginLoc() const { return getForLoc(); } in getBeginLoc() function
2325 SourceLocation getBeginLoc() const { return getGotoLoc(); } in getBeginLoc() function
2372 SourceLocation getBeginLoc() const { return getGotoLoc(); } in getBeginLoc() function
3297 SourceLocation getBeginLoc() const LLVM_READONLY { in getBeginLoc() function
[all …]
H A DExprOpenMP.h104 SourceLocation getBeginLoc() const LLVM_READONLY { in getBeginLoc() function
105 return getBase()->getBeginLoc(); in getBeginLoc()
/freebsd-12.1/contrib/llvm/tools/clang/lib/ARCMigrate/
H A DTransAutoreleasePool.cpp140 scope.CompoundParent->getBeginLoc()); in ~AutoreleasePoolRewriter()
145 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.cpp212 E->getBeginLoc())) { in rewriteToBridgedCast()
228 diag::err_arc_cast_requires_bridge, E->getBeginLoc()); in rewriteToBridgedCast()
233 SourceLocation insertLoc = E->getSubExpr()->getBeginLoc(); in rewriteToBridgedCast()
253 SourceLocation InsertLoc = WrapE->getBeginLoc(); in rewriteToBridgedCast()
370 Pass.TA.reportError(err, E->getBeginLoc(), in transformObjCToNonObjCCast()
382 Pass.TA.reportNote(note, retS->getBeginLoc()); in transformObjCToNonObjCCast()
H A DObjCMT.cpp272 commit.insertBefore(receiver->getBeginLoc(), "("); in rewriteToPropertyDotSyntax()
296 SourceLocation EndLoc = RHS->getBeginLoc(); in rewriteToPropertyDotSyntax()
723 SourceRange R(EnumDcl->getBeginLoc(), EnumDcl->getBeginLoc()); in rewriteToNSEnumDecl()
749 SourceLocation BeginOfEnumDclLoc = EnumDcl->getBeginLoc(); in rewriteToNSEnumDecl()
933 if (!InsertFoundation(Ctx, TypedefDcl->getBeginLoc())) in migrateNSEnumDecl()
946 if (!InsertFoundation(Ctx, TypedefDcl->getBeginLoc())) in migrateNSEnumDecl()
965 R = SourceRange(TL.getBeginLoc(), TL.getEndLoc()); in ReplaceWithInstancetype()
969 R = SourceRange(OM->getBeginLoc(), OM->getBeginLoc()); in ReplaceWithInstancetype()
985 R = SourceRange(TL.getBeginLoc(), TL.getEndLoc()); { in ReplaceWithClasstype()
991 R = SourceRange(OM->getBeginLoc(), OM->getBeginLoc()); in ReplaceWithClasstype()
[all …]
/freebsd-12.1/contrib/llvm/tools/clang/lib/Analysis/
H A DReachableCode.cpp156 SourceLocation L = S->getBeginLoc(); in isExpandedFromConfigurationMacro()
203 if (!PE->getBeginLoc().isMacroID()) in isConfigurationValue()
449 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 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()
436 data_collection::getMacroStack(Seq.getBeginLoc(), Context); in calculateStmtComplexity()
/freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/
H A DCGStmtOpenMP.cpp425 CapVar ? CapVar->getBeginLoc() : FD->getBeginLoc(), in emitOutlinedFunctionPrologue()
462 FO.S->getBeginLoc(), CD->getBody()->getBeginLoc()); in emitOutlinedFunctionPrologue()
1842 SourceLocation Loc = S.getBeginLoc(); in EmitOMPOuterLoop()
2430 CGF.EmitLoadOfScalar(IL, S.getBeginLoc())); in EmitOMPWorksharingLoop()
2549 S.getBeginLoc(), true); in EmitSections()
2630 CGF.EmitLoadOfScalar(IL, S.getBeginLoc())); in EmitSections()
2717 *this, S.getBeginLoc(), in EmitOMPSingleDirective()
2885 *this, S.getBeginLoc(), LHSs, RHSs, Data); in EmitOMPTaskBasedDirective()
3274 S.getBeginLoc()); in EmitOMPFlushDirective()
4970 (*LIP)->getType(), S.getBeginLoc()))); in EmitOMPTaskLoopBasedDirective()
[all …]
H A DCoverageMappingGen.cpp70 SourceLocation getBeginLoc() const { in getBeginLoc() function in __anonc2ccc9df0111::SourceMappingRegion
119 : SpellingRegion(SM, R.getBeginLoc(), R.getEndLoc()) {} in SpellingRegion()
207 SourceLocation Loc = S->getBeginLoc(); in getStart()
232 SourceLocation Loc = Region.getBeginLoc(); in gatherFileIDs()
314 SourceLocation LocStart = Region.getBeginLoc(); in emitSourceRegions()
505 FileID StartFile = SM.getFileID(DR.getBeginLoc()); in completeDeferred()
518 if (DR.getBeginLoc() == DeferredEndLoc) in completeDeferred()
574 SourceLocation StartLoc = Region.getBeginLoc(); in popRegions()
673 if (SM.isBeforeInTranslationUnit(StartLoc, S->getBeginLoc())) in propagateCounts()
737 SourceLocation Loc = I.getBeginLoc(); in handleFileExit()
[all …]
/freebsd-12.1/contrib/llvm/tools/clang/lib/AST/
H A DRawCommentList.cpp71 SourceLocation L1 = R1.getBeginLoc(); in commentsStartOnSameColumn()
72 SourceLocation L2 = R2.getBeginLoc(); in commentsStartOnSameColumn()
281 !SourceMgr.isBeforeInTranslationUnit(Comments.back()->getBeginLoc(), in addComment()
282 RC.getBeginLoc())) { in addComment()
319 onlyWhitespaceBetween(SourceMgr, C1.getEndLoc(), C2.getBeginLoc(), in addComment()
321 SourceRange MergedRange(C1.getBeginLoc(), C2.getEndLoc()); in addComment()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Tooling/Refactoring/Rename/
H A DUSRLocFinder.cpp117 return NestedNameSpecifier.getBeginLoc(); in StartLocationForType()
120 return TL.getBeginLoc(); in StartLocationForType()
258 auto StartLoc = Expr->getBeginLoc(); in VisitDeclRefExpr()
341 RenameInfo Info = {NestedLoc.getBeginLoc(), in VisitNestedNameSpecifierLocations()
579 Replace(Using->getBeginLoc(), Using->getEndLoc(), "using " + NewName.str()); in createRenameAtomicChanges()

1234567