Home
last modified time | relevance | path

Searched refs:getLocEnd (Results 1 – 25 of 68) sorted by relevance

123

/external/clang/include/clang/AST/
DStmtObjC.h59 SourceLocation getLocEnd() const LLVM_READONLY { in getLocEnd() function
60 return SubExprs[BODY]->getLocEnd(); in getLocEnd()
108 SourceLocation getLocEnd() const LLVM_READONLY { return Body->getLocEnd(); } in getLocEnd() function
137 SourceLocation getLocEnd() const LLVM_READONLY { in getLocEnd() function
138 return AtFinallyStmt->getLocEnd(); in getLocEnd()
242 SourceLocation getLocEnd() const LLVM_READONLY;
299 SourceLocation getLocEnd() const LLVM_READONLY { in getLocEnd() function
300 return getSynchBody()->getLocEnd(); in getLocEnd()
333 SourceLocation getLocEnd() const LLVM_READONLY { in getLocEnd() function
334 return Throw ? Throw->getLocEnd() : AtThrowLoc; in getLocEnd()
[all …]
DStmtCXX.h45 SourceLocation getLocEnd() const LLVM_READONLY { in getLocEnd() function
46 return HandlerBlock->getLocEnd(); in getLocEnd()
89 SourceLocation getLocEnd() const LLVM_READONLY { return getEndLoc(); } in getLocEnd() function
93 return getStmts()[NumHandlers]->getLocEnd(); in getEndLoc()
193 SourceLocation getLocEnd() const LLVM_READONLY { in getLocEnd() function
194 return SubExprs[BODY]->getLocEnd(); in getLocEnd()
279 SourceLocation getLocEnd() const LLVM_READONLY { return SubStmt->getLocEnd();} in getLocEnd() function
DStmt.h361 SourceLocation getLocEnd() const LLVM_READONLY; in LLVM_ALIGNAS()
475 SourceLocation getLocEnd() const LLVM_READONLY { return EndLoc; } in getLocEnd() function
536 SourceLocation getLocEnd() const LLVM_READONLY { return SemiLoc; } in getLocEnd() function
626 SourceLocation getLocEnd() const LLVM_READONLY { return RBraceLoc; } in getLocEnd() function
679 SourceLocation getLocEnd() const LLVM_READONLY;
729 SourceLocation getLocEnd() const LLVM_READONLY { in getLocEnd() function
735 return CS->getSubStmt()->getLocEnd(); in getLocEnd()
768 SourceLocation getLocEnd() const LLVM_READONLY { return SubStmt->getLocEnd();} in getLocEnd() function
778 inline SourceLocation SwitchCase::getLocEnd() const { in getLocEnd() function
780 return CS->getLocEnd(); in getLocEnd()
[all …]
DExprCXX.h97 SourceLocation getLocEnd() const LLVM_READONLY { return Range.getEnd(); } in getLocEnd() function
218 SourceLocation getLocEnd() const LLVM_READONLY { return RParenLoc; } in getLocEnd() function
412 SourceLocation getLocEnd() const { return getRParenLoc(); } in getLocEnd() function
450 SourceLocation getLocEnd() const LLVM_READONLY { return Loc; } in getLocEnd() function
478 SourceLocation getLocEnd() const LLVM_READONLY { return Loc; } in getLocEnd() function
512 SourceLocation getLocEnd() const LLVM_READONLY { in getLocEnd() function
513 return SubExpr->getLocEnd(); in getLocEnd()
600 SourceLocation getLocEnd() const LLVM_READONLY { return Range.getEnd(); } in getLocEnd() function
644 return SourceRange(getLocStart(), getLocEnd()); in getSourceRange()
657 SourceLocation getLocEnd() const { return getMemberLoc(); } in getLocEnd() function
[all …]
DExprObjC.h48 SourceLocation getLocEnd() const LLVM_READONLY { return String->getLocEnd(); } in getLocEnd() function
75 SourceLocation getLocEnd() const LLVM_READONLY { return Loc; } in getLocEnd() function
116 SourceLocation getLocEnd() const LLVM_READONLY { return Range.getEnd(); } in getLocEnd() function
164 SourceLocation getLocEnd() const LLVM_READONLY { return Range.getEnd(); } in getLocEnd() function
333 SourceLocation getLocEnd() const LLVM_READONLY { return Range.getEnd(); }
385 SourceLocation getLocEnd() const LLVM_READONLY { return RParenLoc; }
417 SourceLocation getLocEnd() const LLVM_READONLY { return RParenLoc; }
460 SourceLocation getLocEnd() const LLVM_READONLY { return RParenLoc; }
519 SourceLocation getLocEnd() const LLVM_READONLY { return Loc; }
734 SourceLocation getLocEnd() const LLVM_READONLY { return IdLoc; }
[all …]
DExpr.h849 SourceLocation getLocEnd() const LLVM_READONLY { in getLocEnd() function
850 return SourceExpr ? SourceExpr->getLocEnd() : Loc; in getLocEnd()
1003 SourceLocation getLocEnd() const LLVM_READONLY;
1213 SourceLocation getLocEnd() const LLVM_READONLY { return Loc; } in getLocEnd() function
1299 SourceLocation getLocEnd() const LLVM_READONLY { return Loc; } in getLocEnd() function
1345 SourceLocation getLocEnd() const LLVM_READONLY { return Loc; } in getLocEnd() function
1413 SourceLocation getLocEnd() const LLVM_READONLY { return Loc; } in getLocEnd() function
1445 SourceLocation getLocEnd() const LLVM_READONLY { return Val->getLocEnd(); } in getLocEnd() function
1606 SourceLocation getLocEnd() const LLVM_READONLY { in getLocEnd() function
1641 SourceLocation getLocEnd() const LLVM_READONLY { return R; } in getLocEnd() function
[all …]
DComment.h222 SourceLocation getLocEnd() const LLVM_READONLY { in getLocEnd() function
355 getLocEnd()); in getCommandNameRange()
570 Content.back()->getLocEnd())); in ParagraphComment()
705 SourceLocation NewLocEnd = PC->getLocEnd(); in setParagraph()
981 return SourceRange(TextBegin, getLocEnd()); in getTextRange()
1109 Blocks.back()->getLocEnd())); in FullComment()
DDeclarationName.h533 return SourceRange(getLocStart(), getLocEnd()); in getSourceRange()
538 SourceLocation getLocEnd() const LLVM_READONLY { in getLocEnd() function
DRawCommentList.h112 SourceLocation getLocEnd() const LLVM_READONLY { return Range.getEnd(); } in getLocEnd() function
DDeclFriend.h148 return SourceRange(getFriendLoc(), ND->getLocEnd()); in getSourceRange()
/external/clang/lib/ARCMigrate/
DTransAutoreleasePool.cpp131 SourceLocation afterSemi = findLocationAfterSemi((*retI)->getLocEnd(), in ~AutoreleasePoolRewriter()
139 (*retI)->getLocEnd()), in ~AutoreleasePoolRewriter()
244 return SourceRange((*rangeS)->getLocStart(), (*rangeE)->getLocEnd()); in getIndentedRange()
310 findLocationAfterSemi(retS->getLocEnd(), Pass.Ctx).isValid()) { in handlePoolScope()
DObjCMT.cpp273 ReceiverIsSuper ? Msg->getSuperLoc() : receiver->getLocEnd(); in rewriteToPropertyDotSyntax()
303 ReceiverIsSuper ? Msg->getSuperLoc() : receiver->getLocEnd(); in rewriteToPropertyDotSyntax()
736 SourceLocation EndOfEnumDclLoc = EnumDcl->getLocEnd(); in rewriteToNSEnumDecl()
746 SourceLocation EndTypedefDclLoc = TypedefDcl->getLocEnd(); in rewriteToNSEnumDecl()
756 EndOfEnumDclLoc = trans::findLocationAfterSemi(EnumDcl->getLocEnd(), NS.getASTContext(), in rewriteToNSEnumDecl()
790 EndLoc = TLoc.getLocEnd(); in rewriteToNSMacroDecl()
804 SourceLocation StartTypedefLoc = EnumDcl->getLocEnd(); in rewriteToNSMacroDecl()
806 SourceLocation EndTypedefLoc = TypedefDcl->getLocEnd(); in rewriteToNSMacroDecl()
837 SourceLocation EndLoc = Enumerator->getLocEnd(); in UseNSOptionsMacro()
1284 commit.insertBefore(OM->getLocEnd(), " NS_RETURNS_INNER_POINTER"); in migrateNsReturnsInnerPointer()
[all …]
DTransUnbridgedCasts.cpp246 TA.insertAfterToken(E->getLocEnd(), ")"); in rewriteToBridgedCast()
271 TA.insertAfterToken(WrapE->getLocEnd(), ")"); in rewriteToBridgedCast()
DTransProtectedScope.cpp76 SourceLocation NextLoc = S->getLocEnd(); in VisitSwitchStmt()
/external/clang/lib/AST/
DExprCXX.cpp277 SourceLocation CXXPseudoDestructorExpr::getLocEnd() const { in getLocEnd() function in CXXPseudoDestructorExpr
484 SourceLocation CXXConstructExpr::getLocEnd() const { in getLocEnd() function in CXXConstructExpr
486 return cast<CXXTemporaryObjectExpr>(this)->getLocEnd(); in getLocEnd()
495 SourceLocation NewEnd = Arg->getLocEnd(); in getLocEnd()
511 return SourceRange(getOperatorLoc(), getArg(0)->getLocEnd()); in getSourceRangeImpl()
522 return SourceRange(getOperatorLoc(), getArg(0)->getLocEnd()); in getSourceRangeImpl()
524 return SourceRange(getArg(0)->getLocStart(), getArg(1)->getLocEnd()); in getSourceRangeImpl()
726 SourceLocation CXXFunctionalCastExpr::getLocEnd() const { in getLocEnd() function in CXXFunctionalCastExpr
727 return RParenLoc.isValid() ? RParenLoc : getSubExpr()->getLocEnd(); in getLocEnd()
823 SourceLocation CXXTemporaryObjectExpr::getLocEnd() const { in getLocEnd() function in CXXTemporaryObjectExpr
[all …]
DRawCommentList.cpp245 onlyWhitespaceBetween(SourceMgr, C1.getLocEnd(), C2.getLocStart(), in addComment()
247 SourceRange MergedRange(C1.getLocStart(), C2.getLocEnd()); in addComment()
DExpr.cpp435 SourceLocation DeclRefExpr::getLocEnd() const { in getLocEnd() function in DeclRefExpr
438 return getNameInfo().getLocEnd(); in getLocEnd()
1275 SourceLocation CallExpr::getLocEnd() const { in getLocEnd() function in CallExpr
1277 return cast<CXXOperatorCallExpr>(this)->getLocEnd(); in getLocEnd()
1281 end = getArg(getNumArgs() - 1)->getLocEnd(); in getLocEnd()
1453 SourceLocation MemberExpr::getLocEnd() const { in getLocEnd() function in MemberExpr
1458 EndLoc = getBase()->getLocEnd(); in getLocEnd()
1967 SourceLocation InitListExpr::getLocEnd() const { in getLocEnd() function in InitListExpr
1969 return SyntacticForm->getLocEnd(); in getLocEnd()
1977 End = S->getLocEnd(); in getLocEnd()
[all …]
DStmt.cpp192 (void) is_good(implements_getLocEnd(&type::getLocEnd))
240 static_cast<const S*>(stmt)->getLocEnd()); in getSourceRangeImpl()
269 SourceLocation Stmt::getLocEnd() const { in getLocEnd() function in Stmt
275 return static_cast<const type*>(this)->getLocEnd(); in getLocEnd()
814 SourceLocation ObjCAtTryStmt::getLocEnd() const { in getLocEnd() function in ObjCAtTryStmt
816 return getFinallyStmt()->getLocEnd(); in getLocEnd()
818 return getCatchStmt(NumCatchStmts - 1)->getLocEnd(); in getLocEnd()
819 return getTryBody()->getLocEnd(); in getLocEnd()
/external/clang/lib/StaticAnalyzer/Core/
DCheckerHelpers.cpp22 if (S->getLocEnd().isMacroID()) in containsMacro()
/external/clang/lib/Sema/
DTreeTransform.h2999 Construct->getLocEnd(), in TransformInitializer()
6700 D->getLocStart(), D->getLocEnd()); in TransformOMPExecutableDirective()
6942 C->getLParenLoc(), C->getLocEnd()); in TransformOMPIfClause()
6951 C->getLParenLoc(), C->getLocEnd()); in TransformOMPFinalClause()
6961 NumThreads.get(), C->getLocStart(), C->getLParenLoc(), C->getLocEnd()); in TransformOMPNumThreadsClause()
6971 E.get(), C->getLocStart(), C->getLParenLoc(), C->getLocEnd()); in TransformOMPSafelenClause()
6981 E.get(), C->getLocStart(), C->getLParenLoc(), C->getLocEnd()); in TransformOMPCollapseClause()
6989 C->getLParenLoc(), C->getLocEnd()); in TransformOMPDefaultClause()
6997 C->getLParenLoc(), C->getLocEnd()); in TransformOMPProcBindClause()
7008 C->getScheduleKindLoc(), C->getCommaLoc(), C->getLocEnd()); in TransformOMPScheduleClause()
[all …]
DSemaLambda.cpp776 Loc, Init->getLocStart(), Init->getLocEnd()) in performLambdaInitCaptureInitialization()
1275 CallOperator->getBody()->getLocEnd()); in addFunctionPointerConversion()
1317 CallOperator->getBody()->getLocEnd()); in addFunctionPointerConversion()
1377 CallOperator->getBody()->getLocEnd()); in addBlockPointerConversion()
1537 ArrayIndexStarts, Body->getLocEnd(), in ActOnLambdaExpr()
DSemaInit.cpp459 SourceLocation Loc = ILE->getLocEnd(); in FillInEmptyInitForField()
598 ExprResult ElementInit = PerformEmptyInit(SemaRef, ILE->getLocEnd(), in FillInEmptyInitializations()
751 StructuredSubobjectInitList->getLocEnd()), in CheckImplicitInitList()
1280 IList->getLocEnd()); in CheckVectorType()
1327 CheckEmptyInitializable(ElementEntity, IList->getLocEnd()); in CheckVectorType()
1546 IList->getLocEnd()); in CheckArrayType()
1634 IList->getLocEnd()); in CheckStructUnionTypes()
1748 IList->getLocEnd()); in CheckStructUnionTypes()
1920 DIE->getLocEnd())); in CheckDesignatedInitializer()
2078 DIE->getLocEnd()); in CheckDesignatedInitializer()
[all …]
DSemaChecking.cpp57 return S.Diag(call->getLocEnd(), diag::err_typecheck_call_too_few_args) in checkArgCount()
63 call->getArg(argCount - 1)->getLocEnd()); in checkArgCount()
1466 Diag(TheCall->getLocEnd(), diag::err_typecheck_call_too_few_args) in SemaAtomicOpsOverloaded()
1718 Diag(TheCall->getLocEnd(), diag::err_typecheck_call_too_few_args_at_least) in SemaBuiltinAtomicOverloaded()
1989 Diag(TheCall->getLocEnd(), diag::err_typecheck_call_too_few_args_at_least) in SemaBuiltinAtomicOverloaded()
1996 Diag(TheCall->getLocEnd(), diag::warn_sync_fetch_and_nand_semantics_change) in SemaBuiltinAtomicOverloaded()
2112 (*(TheCall->arg_end()-1))->getLocEnd()); in SemaBuiltinVAStart()
2117 return Diag(TheCall->getLocEnd(), in SemaBuiltinVAStart()
2189 return Diag(Call->getLocEnd(), in SemaBuiltinVAStartARM()
2238 return Diag(TheCall->getLocEnd(), diag::err_typecheck_call_too_few_args) in SemaBuiltinUnorderedCompare()
[all …]
DAnalysisBasedWarnings.cpp535 SourceLocation LBrace = Body->getLocStart(), RBrace = Body->getLocEnd(); in CheckFallThroughForBody()
620 if (VD->getLocEnd().isMacroID()) in SuggestInitializationFixit()
623 SourceLocation Loc = S.getLocForEndOfToken(VD->getLocEnd()); in SuggestInitializationFixit()
647 Then->getLocEnd(), 0, S.getSourceManager(), S.getLangOpts()); in CreateIfFixit()
649 SourceRange(ElseKwLoc, Else->getLocEnd())); in CreateIfFixit()
1989 SourceLocation FEL = AC.getDecl()->getLocEnd(); in IssueWarnings()
/external/clang/lib/Frontend/Rewrite/
DRewriteObjC.cpp948 SourceLocation LocEnd = Method->getLocEnd(); in RewriteMethodDeclaration()
1192 InsertText(IMD ? IMD->getLocEnd() : CID->getLocEnd(), "// "); in RewriteImplementationDecl()
1668 startLoc = S->getSynchBody()->getLocEnd(); in RewriteObjCSynchronizedStmt()
1804 startLoc = S->getTryBody()->getLocEnd(); in RewriteObjCTryStmt()
1887 SourceLocation bodyLoc = lastCatchBody->getLocEnd(); in RewriteObjCTryStmt()
1903 lastCurlyLoc = lastCatchBody->getLocEnd(); in RewriteObjCTryStmt()
1914 SourceLocation endLoc = body->getLocEnd(); in RewriteObjCTryStmt()
1926 lastCurlyLoc = body->getLocEnd(); in RewriteObjCTryStmt()
2088 EndLoc = E->getLocEnd(); in RewriteObjCQualifiedInterfaceTypes()
2215 SourceLocation X = ND->getLocEnd(); in RewriteTypeOfDecl()
[all …]

123