Searched refs:getLocEnd (Results 1 - 25 of 49) sorted by relevance

12

/external/clang/include/clang/AST/
H A DStmtCXX.h42 return SourceRange(CatchLoc, HandlerBlock->getLocEnd());
93 return getStmts()[NumHandlers]->getLocEnd();
194 return SourceRange(ForLoc, SubExprs[BODY]->getLocEnd());
279 return SourceRange(KeywordLoc, SubStmt->getLocEnd());
H A DStmtObjC.h59 return SourceRange(ForLoc, SubExprs[BODY]->getLocEnd());
107 return SourceRange(AtCatchLoc, Body->getLocEnd());
137 return SourceRange(AtFinallyLoc, AtFinallyStmt->getLocEnd());
300 return SourceRange(AtSynchronizedLoc, getSynchBody()->getLocEnd());
334 return SourceRange(AtThrowLoc, Throw->getLocEnd());
365 return SourceRange(AtLoc, SubStmt->getLocEnd());
H A DStmt.h356 SourceLocation getLocEnd() const LLVM_READONLY;
712 return SourceRange(CaseLoc, CS->getSubStmt()->getLocEnd());
747 return SourceRange(DefaultLoc, SubStmt->getLocEnd());
784 return SourceRange(IdentLoc, SubStmt->getLocEnd());
833 return SourceRange(AttrLoc, SubStmt->getLocEnd());
895 return SourceRange(IfLoc, SubExprs[ELSE]->getLocEnd());
897 return SourceRange(IfLoc, SubExprs[THEN]->getLocEnd());
993 return SourceRange(SwitchLoc, SubExprs[BODY]->getLocEnd());
1048 return SourceRange(WhileLoc, SubExprs[BODY]->getLocEnd());
1169 return SourceRange(ForLoc, SubExprs[BODY]->getLocEnd());
[all...]
H A DDeclFriend.h109 return SourceRange(getFriendLoc(), ND->getLocEnd());
H A DComment.h185 SourceLocation getLocEnd() const LLVM_READONLY {
324 getLocEnd());
539 Content.back()->getLocEnd()));
674 SourceLocation NewLocEnd = PC->getLocEnd();
932 return SourceRange(TextBegin, getLocEnd());
1050 Blocks.back()->getLocEnd()));
H A DExpr.h902 SourceLocation getLocEnd() const LLVM_READONLY;
1627 return SourceRange(Loc, Val->getLocEnd());
2148 SourceLocation getLocEnd() const LLVM_READONLY;
2417 SourceLocation getLocEnd() const LLVM_READONLY;
2501 return SourceRange(LParenLoc, Init->getLocEnd());
2655 SourceLocation getLocEnd() const LLVM_READONLY {
2656 return getSubExpr()->getLocEnd();
2825 return SourceRange(getLHS()->getLocStart(), getRHS()->getLocEnd());
3056 return SourceRange(getCond()->getLocStart(), getRHS()->getLocEnd());
3138 return SourceRange(getCommon()->getLocStart(), getFalseExpr()->getLocEnd());
[all...]
H A DDeclCXX.h215 SourceLocation getLocEnd() const LLVM_READONLY { return Range.getEnd(); }
2342 SourceLocation getLocEnd() const LLVM_READONLY {
2347 return decls_empty() ? getLocation() : decls_begin()->getLocEnd();
2351 return SourceRange(ExternLoc, getLocEnd());
H A DDeclarationName.h535 SourceLocation getLocEnd() const LLVM_READONLY {
/external/clang/lib/StaticAnalyzer/Core/
H A DCheckerHelpers.cpp22 if (S->getLocEnd().isMacroID())
H A DPathDiagnostic.cpp429 SourceLocation L = UseEnd ? S->getLocEnd() : S->getLocStart();
458 L = ADC->getDecl()->getLocEnd();
462 L = UseEnd ? Parent->getLocEnd() : Parent->getLocStart();
/external/clang/lib/ARCMigrate/
H A DTransAutoreleasePool.cpp131 SourceLocation afterSemi = findLocationAfterSemi((*retI)->getLocEnd(),
139 (*retI)->getLocEnd()),
244 return SourceRange((*rangeS)->getLocStart(), (*rangeE)->getLocEnd());
310 findLocationAfterSemi(retS->getLocEnd(), Pass.Ctx).isValid()) {
H A DTransUnbridgedCasts.cpp229 TA.insertAfterToken(E->getLocEnd(), ")");
254 TA.insertAfterToken(WrapE->getLocEnd(), ")");
/external/clang/lib/AST/
H A DStmt.cpp183 // a more specific implementation of getLocStart() and getLocEnd().
206 /// implementation of getLocEnd.
210 return static_cast<const S*>(stmt)->getLocEnd();
214 /// implementation of getLocEnd. Overload resolution should pick it over
236 SourceLocation Stmt::getLocEnd() const { function in class:Stmt
242 return getLocEndImpl<type>(this, &type::getLocEnd);
297 return SourceRange(RetLoc, RetExpr->getLocEnd());
774 EndLoc = getFinallyStmt()->getLocEnd();
776 EndLoc = getCatchStmt(NumCatchStmts - 1)->getLocEnd();
778 EndLoc = getTryBody()->getLocEnd();
[all...]
H A DExprCXX.cpp417 SourceLocation NewEnd = Arg->getLocEnd();
433 return SourceRange(getOperatorLoc(), getArg(0)->getLocEnd());
444 return SourceRange(getOperatorLoc(), getArg(0)->getLocEnd());
446 return SourceRange(getArg(0)->getLocStart(), getArg(1)->getLocEnd());
H A DExpr.cpp113 // See also Stmt.cpp:{getLocStart(),getLocEnd()}.
391 SourceLocation DeclRefExpr::getLocEnd() const { function in class:DeclRefExpr
394 return getNameInfo().getLocEnd();
1101 end = getArg(getNumArgs() - 1)->getLocEnd();
1113 SourceLocation CallExpr::getLocEnd() const { function in class:CallExpr
1119 end = getArg(getNumArgs() - 1)->getLocEnd();
1244 return SourceRange(getLocStart(), getLocEnd());
1260 SourceLocation MemberExpr::getLocEnd() const { function in class:MemberExpr
1946 CE->getArg(NumArgs-1)->getLocEnd());
H A DDecl.cpp1208 return SourceRange(getOuterLocStart(), getInit()->getLocEnd());
1693 EndRangeLoc = B->getLocEnd();
2539 return SourceRange(getInnerLocStart(), E->getLocEnd());
2849 return SourceRange(getLocation(), Body? Body->getLocEnd() : getLocation());
2963 End = Init->getLocEnd();
/external/clang/lib/Sema/
H A DSemaLambda.cpp645 CallOperator->getBody()->getLocEnd());
659 CallOperator->getBody()->getLocEnd());
715 CallOperator->getBody()->getLocEnd());
860 ArrayIndexStarts, Body->getLocEnd(),
H A DAnalysisBasedWarnings.cpp449 if (VD->getLocEnd().isMacroID())
452 SourceLocation Loc = S.PP.getLocForEndOfToken(VD->getLocEnd());
471 Then->getLocEnd(), 0, S.getSourceManager(), S.getLangOpts());
473 SourceRange(ElseKwLoc, Else->getLocEnd()));
1324 SourceLocation FEL = AC.getDecl()->getLocEnd();
H A DSemaChecking.cpp58 return S.Diag(call->getLocEnd(), diag::err_typecheck_call_too_few_args)
64 call->getArg(argCount - 1)->getLocEnd());
714 Diag(TheCall->getLocEnd(), diag::err_typecheck_call_too_few_args)
938 Diag(TheCall->getLocEnd(), diag::err_typecheck_call_too_few_args_at_least)
1186 Diag(TheCall->getLocEnd(), diag::err_typecheck_call_too_few_args_at_least)
1295 (*(TheCall->arg_end()-1))->getLocEnd());
1300 return Diag(TheCall->getLocEnd(),
1354 return Diag(TheCall->getLocEnd(), diag::err_typecheck_call_too_few_args)
1361 (*(TheCall->arg_end()-1))->getLocEnd());
1387 << SourceRange(OrigArg0.get()->getLocStart(), OrigArg1.get()->getLocEnd());
[all...]
H A DSemaInit.cpp584 StructuredSubobjectInitList->getLocEnd()),
667 << FixItHint::CreateRemoval(IList->getLocEnd());
5440 << SourceRange(Args[0]->getLocStart(), Args[NumArgs - 1]->getLocEnd());
5590 R = SourceRange(InitList->getInit(0)->getLocEnd(),
5591 InitList->getLocEnd());
5593 R = SourceRange(Args[0]->getLocEnd(), Args[NumArgs - 1]->getLocEnd());
5620 Args[NumArgs - 1]->getLocEnd());
6166 S.getPreprocessor().getLocForEndOfToken(PostInit->getLocEnd()), ")");
H A DTreeTransform.h6594 /*FIXME:*/E->getInitializer()->getLocEnd(),
6611 = SemaRef.PP.getLocForEndOfToken(E->getBase()->getLocEnd());
6849 static_cast<Expr *>(Object.get())->getLocEnd());
6859 E->getLocEnd());
7044 E->getLocEnd());
7064 E->getLocEnd());
7083 E->getLocEnd());
7099 E->getLocEnd());
7513 E->getLocEnd());
7534 E->getLocEnd());
[all...]
/external/clang/include/clang/Sema/
H A DDeclSpec.h465 SourceLocation getLocEnd() const LLVM_READONLY { return Range.getEnd(); }
999 SourceLocation getLocEnd() const LLVM_READONLY { return EndLocation; }
1570 SourceLocation getLocEnd() const LLVM_READONLY { return Range.getEnd(); }
/external/clang/lib/Rewrite/Frontend/
H A DRewriteModernObjC.cpp881 startGetterSetterLoc = IMD ? IMD->getLocEnd() : CID->getLocEnd();
1055 SourceLocation LocEnd = Method->getLocEnd();
1356 InsertText(IMD ? IMD->getLocEnd() : CID->getLocEnd(), "// ");
1851 // We can't use S->getSynchExpr()->getLocEnd() to find the end location, since
1864 SourceLocation startRBraceLoc = S->getSynchBody()->getLocEnd();
1982 SourceLocation endFinalBodyLoc = body->getLocEnd();
2136 EndLoc = E->getLocEnd();
2263 SourceLocation X = ND->getLocEnd();
[all...]
H A DRewriteObjC.cpp949 SourceLocation LocEnd = Method->getLocEnd();
1218 InsertText(IMD ? IMD->getLocEnd() : CID->getLocEnd(), "// ");
1683 // We can't use S->getSynchExpr()->getLocEnd() to find the end location, since
1699 startLoc = S->getSynchBody()->getLocEnd();
1834 startLoc = S->getTryBody()->getLocEnd();
1917 SourceLocation bodyLoc = lastCatchBody->getLocEnd();
1933 lastCurlyLoc = lastCatchBody->getLocEnd();
1944 SourceLocation endLoc = body->getLocEnd();
1956 lastCurlyLoc = body->getLocEnd();
[all...]
/external/clang/lib/Edit/
H A DRewriteObjCFoundationAPI.cpp401 Msg->getArg(Msg->getNumArgs()-2)->getLocEnd());
478 Msg->getArg(SentinelIdx-1)->getLocEnd());

Completed in 265 milliseconds

12