Home
last modified time | relevance | path

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

12

/external/clang/include/clang/AST/
DStmtObjC.h60 return SourceRange(ForLoc, SubExprs[BODY]->getLocEnd()); in getSourceRange()
108 return SourceRange(AtCatchLoc, Body->getLocEnd()); in getSourceRange()
138 return SourceRange(AtFinallyLoc, AtFinallyStmt->getLocEnd()); in getSourceRange()
299 return SourceRange(AtSynchronizedLoc, getSynchBody()->getLocEnd()); in getSourceRange()
333 return SourceRange(AtThrowLoc, Throw->getLocEnd()); in getSourceRange()
365 return SourceRange(AtLoc, SubStmt->getLocEnd()); in getSourceRange()
DStmtCXX.h42 return SourceRange(CatchLoc, HandlerBlock->getLocEnd()); in getSourceRange()
93 return getStmts()[NumHandlers]->getLocEnd(); in getEndLoc()
194 return SourceRange(ForLoc, SubExprs[BODY]->getLocEnd()); in getSourceRange()
279 return SourceRange(KeywordLoc, SubStmt->getLocEnd()); in getSourceRange()
DStmt.h354 SourceLocation getLocEnd() const LLVM_READONLY;
715 return SourceRange(CaseLoc, CS->getSubStmt()->getLocEnd()); in getSourceRange()
750 return SourceRange(DefaultLoc, SubStmt->getLocEnd()); in getSourceRange()
787 return SourceRange(IdentLoc, SubStmt->getLocEnd()); in getSourceRange()
828 return SourceRange(AttrLoc, SubStmt->getLocEnd()); in getSourceRange()
890 return SourceRange(IfLoc, SubExprs[ELSE]->getLocEnd()); in getSourceRange()
892 return SourceRange(IfLoc, SubExprs[THEN]->getLocEnd()); in getSourceRange()
988 return SourceRange(SwitchLoc, SubExprs[BODY]->getLocEnd()); in getSourceRange()
1043 return SourceRange(WhileLoc, SubExprs[BODY]->getLocEnd()); in getSourceRange()
1164 return SourceRange(ForLoc, SubExprs[BODY]->getLocEnd()); in getSourceRange()
[all …]
DDeclFriend.h107 return SourceRange(getFriendLoc(), ND->getLocEnd()); in getSourceRange()
DExpr.h871 SourceLocation getLocEnd() const LLVM_READONLY;
1613 return SourceRange(Loc, Val->getLocEnd()); in getSourceRange()
2136 SourceLocation getLocEnd() const LLVM_READONLY;
2405 SourceLocation getLocEnd() const LLVM_READONLY;
2489 return SourceRange(LParenLoc, Init->getLocEnd()); in getSourceRange()
2643 SourceLocation getLocEnd() const LLVM_READONLY { in getLocEnd() function
2644 return getSubExpr()->getLocEnd(); in getLocEnd()
2813 return SourceRange(getLHS()->getLocStart(), getRHS()->getLocEnd()); in getSourceRange()
3044 return SourceRange(getCond()->getLocStart(), getRHS()->getLocEnd()); in getSourceRange()
3126 return SourceRange(getCommon()->getLocStart(), getFalseExpr()->getLocEnd()); in getSourceRange()
[all …]
DDeclCXX.h214 SourceLocation getLocEnd() const LLVM_READONLY { return Range.getEnd(); }
2345 SourceLocation getLocEnd() const LLVM_READONLY {
2350 return decls_empty() ? getLocation() : decls_begin()->getLocEnd();
2354 return SourceRange(ExternLoc, getLocEnd());
DDeclarationName.h522 SourceLocation getLocEnd() const LLVM_READONLY { in getLocEnd() function
DExprObjC.h48 return SourceRange(AtLoc, String->getLocEnd()); in getSourceRange()
1531 return SourceRange(LParenLoc, getSubExpr()->getLocEnd()); in getSourceRange()
/external/clang/lib/ARCMigrate/
DTransAutoreleasePool.cpp130 SourceLocation afterSemi = findLocationAfterSemi((*retI)->getLocEnd(), in ~AutoreleasePoolRewriter()
138 (*retI)->getLocEnd()), in ~AutoreleasePoolRewriter()
243 return SourceRange((*rangeS)->getLocStart(), (*rangeE)->getLocEnd()); in getIndentedRange()
309 findLocationAfterSemi(retS->getLocEnd(), Pass.Ctx).isValid()) { in handlePoolScope()
DTransUnbridgedCasts.cpp209 TA.insertAfterToken(E->getLocEnd(), ")"); in rewriteToBridgedCast()
/external/clang/lib/AST/
DStmt.cpp209 return static_cast<const S*>(stmt)->getLocEnd(); in getLocEndImpl()
235 SourceLocation Stmt::getLocEnd() const { in getLocEnd() function in Stmt
241 return getLocEndImpl<type>(this, &type::getLocEnd); in getLocEnd()
263 return SourceRange(RetLoc, RetExpr->getLocEnd()); in getSourceRange()
604 EndLoc = getFinallyStmt()->getLocEnd(); in getSourceRange()
606 EndLoc = getCatchStmt(NumCatchStmts - 1)->getLocEnd(); in getSourceRange()
608 EndLoc = getTryBody()->getLocEnd(); in getSourceRange()
DExpr.cpp376 SourceLocation DeclRefExpr::getLocEnd() const { in getLocEnd() function in DeclRefExpr
379 return getNameInfo().getLocEnd(); in getLocEnd()
971 end = getArg(getNumArgs() - 1)->getLocEnd(); in getSourceRange()
983 SourceLocation CallExpr::getLocEnd() const { in getLocEnd() function in CallExpr
989 end = getArg(getNumArgs() - 1)->getLocEnd(); in getLocEnd()
1115 return SourceRange(getLocStart(), getLocEnd()); in getSourceRange()
1131 SourceLocation MemberExpr::getLocEnd() const { in getLocEnd() function in MemberExpr
1810 CE->getArg(NumArgs-1)->getLocEnd()); in isUnusedResultAWarning()
DDecl.cpp1180 return SourceRange(getOuterLocStart(), getInit()->getLocEnd()); in getSourceRange()
1665 EndRangeLoc = B->getLocEnd(); in setBody()
2504 return SourceRange(getInnerLocStart(), E->getLocEnd()); in getSourceRange()
2804 return SourceRange(getLocation(), Body? Body->getLocEnd() : getLocation()); in getSourceRange()
2918 End = Init->getLocEnd(); in getSourceRange()
/external/clang/lib/StaticAnalyzer/Core/
DCheckerHelpers.cpp22 if (S->getLocEnd().isMacroID()) in containsMacro()
/external/clang/lib/Sema/
DSemaLambda.cpp492 CallOperator->getBody()->getLocEnd()); in addFunctionPointerConversion()
506 CallOperator->getBody()->getLocEnd()); in addFunctionPointerConversion()
562 CallOperator->getBody()->getLocEnd()); in addBlockPointerConversion()
720 ArrayIndexStarts, Body->getLocEnd()); in ActOnLambdaExpr()
DSemaChecking.cpp56 return S.Diag(call->getLocEnd(), diag::err_typecheck_call_too_few_args) in checkArgCount()
62 call->getArg(argCount - 1)->getLocEnd()); in checkArgCount()
593 Diag(TheCall->getLocEnd(), diag::err_typecheck_call_too_few_args) in SemaAtomicOpsOverloaded()
818 Diag(TheCall->getLocEnd(), diag::err_typecheck_call_too_few_args_at_least) in SemaBuiltinAtomicOverloaded()
1066 Diag(TheCall->getLocEnd(), diag::err_typecheck_call_too_few_args_at_least) in SemaBuiltinAtomicOverloaded()
1175 (*(TheCall->arg_end()-1))->getLocEnd()); in SemaBuiltinVAStart()
1180 return Diag(TheCall->getLocEnd(), in SemaBuiltinVAStart()
1234 return Diag(TheCall->getLocEnd(), diag::err_typecheck_call_too_few_args) in SemaBuiltinUnorderedCompare()
1241 (*(TheCall->arg_end()-1))->getLocEnd()); in SemaBuiltinUnorderedCompare()
1267 << SourceRange(OrigArg0.get()->getLocStart(), OrigArg1.get()->getLocEnd()); in SemaBuiltinUnorderedCompare()
[all …]
DAnalysisBasedWarnings.cpp444 SourceLocation Loc = S.PP.getLocForEndOfToken(VD->getLocEnd()); in SuggestInitializationFixit()
940 SourceLocation FEL = AC.getDecl()->getLocEnd(); in IssueWarnings()
DTreeTransform.h6614 /*FIXME:*/E->getInitializer()->getLocEnd(), in TransformCompoundLiteralExpr()
6631 = SemaRef.PP.getLocForEndOfToken(E->getBase()->getLocEnd()); in TransformExtVectorElementExpr()
6869 static_cast<Expr *>(Object.get())->getLocEnd()); in TransformCXXOperatorCallExpr()
6879 E->getLocEnd()); in TransformCXXOperatorCallExpr()
7064 E->getLocEnd()); in TransformCXXTypeidExpr()
7084 E->getLocEnd()); in TransformCXXTypeidExpr()
7103 E->getLocEnd()); in TransformCXXUuidofExpr()
7119 E->getLocEnd()); in TransformCXXUuidofExpr()
7532 E->getLocEnd()); in TransformUnaryTypeTraitExpr()
7553 E->getLocEnd()); in TransformBinaryTypeTraitExpr()
[all …]
DSemaInit.cpp585 StructuredSubobjectInitList->getLocEnd()), in CheckImplicitInitList()
668 << FixItHint::CreateRemoval(IList->getLocEnd()); in CheckExplicitInitList()
5392 << SourceRange(Args[0]->getLocStart(), Args[NumArgs - 1]->getLocEnd()); in Diagnose()
5542 R = SourceRange(InitList->getInit(0)->getLocEnd(), in Diagnose()
5543 InitList->getLocEnd()); in Diagnose()
5545 R = SourceRange(Args[0]->getLocEnd(), Args[NumArgs - 1]->getLocEnd()); in Diagnose()
5572 Args[NumArgs - 1]->getLocEnd()); in Diagnose()
6118 S.getPreprocessor().getLocForEndOfToken(PostInit->getLocEnd()), ")"); in DiagnoseNarrowingInInitList()
DSemaStmt.cpp393 DiagnoseEmptyStmtBody(ConditionExpr->getLocEnd(), thenStmt, in ActOnIfStmt()
786 Hi->getLocEnd()); in ActOnFinishSwitchStmt()
982 DiagnoseEmptyStmtBody(CondExpr->getLocEnd(), BodyStmt, in ActOnFinishSwitchStmt()
/external/clang/lib/Edit/
DRewriteObjCFoundationAPI.cpp265 Msg->getArg(Msg->getNumArgs()-2)->getLocEnd()); in rewriteToArrayLiteral()
334 Msg->getArg(SentinelIdx-1)->getLocEnd()); in rewriteToDictionaryLiteral()
/external/clang/lib/Rewrite/
DRewriteObjC.cpp944 SourceLocation LocEnd = Method->getLocEnd(); in RewriteMethodDeclaration()
1213 InsertText(IMD ? IMD->getLocEnd() : CID->getLocEnd(), "// "); in RewriteImplementationDecl()
1694 startLoc = S->getSynchBody()->getLocEnd(); in RewriteObjCSynchronizedStmt()
1830 startLoc = S->getTryBody()->getLocEnd(); in RewriteObjCTryStmt()
1913 SourceLocation bodyLoc = lastCatchBody->getLocEnd(); in RewriteObjCTryStmt()
1929 lastCurlyLoc = lastCatchBody->getLocEnd(); in RewriteObjCTryStmt()
1940 SourceLocation endLoc = body->getLocEnd(); in RewriteObjCTryStmt()
1952 lastCurlyLoc = body->getLocEnd(); in RewriteObjCTryStmt()
2121 EndLoc = E->getLocEnd(); in RewriteObjCQualifiedInterfaceTypes()
2248 SourceLocation X = ND->getLocEnd(); in RewriteTypeOfDecl()
[all …]
DRewriteModernObjC.cpp965 SourceLocation LocEnd = Method->getLocEnd(); in RewriteMethodDeclaration()
1274 InsertText(IMD ? IMD->getLocEnd() : CID->getLocEnd(), "// "); in RewriteImplementationDecl()
1782 SourceLocation startRBraceLoc = S->getSynchBody()->getLocEnd(); in RewriteObjCSynchronizedStmt()
1891 SourceLocation endFinalBodyLoc = body->getLocEnd(); in RewriteObjCTryStmt()
2045 EndLoc = E->getLocEnd(); in RewriteObjCQualifiedInterfaceTypes()
2172 SourceLocation X = ND->getLocEnd(); in RewriteTypeOfDecl()
2507 SourceLocation EndLoc = Exp->getLocEnd(); in RewriteObjCBoxedExpr()
2604 SourceLocation EndLoc = Exp->getLocEnd(); in RewriteObjCArrayLiteralExpr()
2743 SourceLocation EndLoc = Exp->getLocEnd(); in RewriteObjCDictionaryLiteralExpr()
3419 Exp->getLocEnd()); in RewriteMessageExpr()
[all …]
/external/clang/include/clang/Sema/
DDeclSpec.h453 SourceLocation getLocEnd() const LLVM_READONLY { return Range.getEnd(); } in getLocEnd() function
980 SourceLocation getLocEnd() const LLVM_READONLY { return EndLocation; } in getLocEnd() function
1549 SourceLocation getLocEnd() const LLVM_READONLY { return Range.getEnd(); } in getLocEnd() function
/external/clang/lib/Serialization/
DASTWriterDecl.cpp330 Writer.AddSourceLocation(D->getLocEnd(), Record); in VisitFunctionDecl()
435 Writer.AddSourceLocation(D->getLocEnd(), Record); in VisitObjCMethodDecl()
985 Writer.AddSourceLocation(D->getLocEnd(), Record); in VisitImportDecl()

12