Home
last modified time | relevance | path

Searched refs:getLocEnd (Results 1 – 25 of 71) 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()
194 SourceLocation getLocEnd() const LLVM_READONLY { in getLocEnd() function
195 return SubExprs[BODY]->getLocEnd(); in getLocEnd()
280 SourceLocation getLocEnd() const LLVM_READONLY { return SubStmt->getLocEnd();} in getLocEnd() function
350 SourceLocation getLocEnd() const LLVM_READONLY { in getLocEnd() function
351 return getBody()->getLocEnd(); in getLocEnd()
402 SourceLocation getLocEnd() const LLVM_READONLY { in getLocEnd() function
[all …]
DStmt.h347 SourceLocation getLocEnd() const LLVM_READONLY; in LLVM_ALIGNAS()
462 SourceLocation getLocEnd() const LLVM_READONLY { return EndLoc; } in getLocEnd() function
523 SourceLocation getLocEnd() const LLVM_READONLY { return SemiLoc; } in getLocEnd() function
615 SourceLocation getLocEnd() const LLVM_READONLY { return RBraceLoc; } in getLocEnd() function
669 SourceLocation getLocEnd() const LLVM_READONLY;
719 SourceLocation getLocEnd() const LLVM_READONLY { in getLocEnd() function
725 return CS->getSubStmt()->getLocEnd(); in getLocEnd()
758 SourceLocation getLocEnd() const LLVM_READONLY { return SubStmt->getLocEnd();} in getLocEnd() function
768 inline SourceLocation SwitchCase::getLocEnd() const { in getLocEnd() function
770 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
480 SourceLocation getLocEnd() const LLVM_READONLY { return Loc; } in getLocEnd() function
516 SourceLocation getLocEnd() const LLVM_READONLY { in getLocEnd() function
517 return SubExpr->getLocEnd(); in getLocEnd()
604 SourceLocation getLocEnd() const LLVM_READONLY { return Range.getEnd(); } in getLocEnd() function
649 return SourceRange(getLocStart(), getLocEnd()); in getSourceRange()
662 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
118 SourceLocation getLocEnd() const LLVM_READONLY { return Range.getEnd(); } in getLocEnd() function
166 SourceLocation getLocEnd() const LLVM_READONLY { return Range.getEnd(); } in getLocEnd() function
335 SourceLocation getLocEnd() const LLVM_READONLY { return Range.getEnd(); }
389 SourceLocation getLocEnd() const LLVM_READONLY { return RParenLoc; }
423 SourceLocation getLocEnd() const LLVM_READONLY { return RParenLoc; }
468 SourceLocation getLocEnd() const LLVM_READONLY { return RParenLoc; }
529 SourceLocation getLocEnd() const LLVM_READONLY { return Loc; }
714 SourceLocation getLocEnd() const LLVM_READONLY { return IdLoc; }
[all …]
DExpr.h872 SourceLocation getLocEnd() const LLVM_READONLY { in getLocEnd() function
873 return SourceExpr ? SourceExpr->getLocEnd() : Loc; in getLocEnd()
1028 SourceLocation getLocEnd() const LLVM_READONLY;
1244 SourceLocation getLocEnd() const LLVM_READONLY { return Loc; } in getLocEnd() function
1330 SourceLocation getLocEnd() const LLVM_READONLY { return Loc; } in getLocEnd() function
1378 SourceLocation getLocEnd() const LLVM_READONLY { return Loc; } in getLocEnd() function
1448 SourceLocation getLocEnd() const LLVM_READONLY { return Loc; } in getLocEnd() function
1482 SourceLocation getLocEnd() const LLVM_READONLY { return Val->getLocEnd(); } in getLocEnd() function
1645 SourceLocation getLocEnd() const LLVM_READONLY { in getLocEnd() function
1682 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()
DExprOpenMP.h107 SourceLocation getLocEnd() const LLVM_READONLY { return RBracketLoc; } in getLocEnd() function
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/AST/
DStmtObjC.cpp67 SourceLocation ObjCAtTryStmt::getLocEnd() const { in getLocEnd() function in ObjCAtTryStmt
69 return getFinallyStmt()->getLocEnd(); in getLocEnd()
71 return getCatchStmt(NumCatchStmts - 1)->getLocEnd(); in getLocEnd()
72 return getTryBody()->getLocEnd(); in getLocEnd()
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.cpp317 onlyWhitespaceBetween(SourceMgr, C1.getLocEnd(), C2.getLocStart(), in addComment()
319 SourceRange MergedRange(C1.getLocStart(), C2.getLocEnd()); in addComment()
DExpr.cpp443 SourceLocation DeclRefExpr::getLocEnd() const { in getLocEnd() function in DeclRefExpr
446 return getNameInfo().getLocEnd(); in getLocEnd()
1312 SourceLocation CallExpr::getLocEnd() const { in getLocEnd() function in CallExpr
1314 return cast<CXXOperatorCallExpr>(this)->getLocEnd(); in getLocEnd()
1318 end = getArg(getNumArgs() - 1)->getLocEnd(); in getLocEnd()
1490 SourceLocation MemberExpr::getLocEnd() const { in getLocEnd() function in MemberExpr
1495 EndLoc = getBase()->getLocEnd(); in getLocEnd()
2004 SourceLocation InitListExpr::getLocEnd() const { in getLocEnd() function in InitListExpr
2006 return SyntacticForm->getLocEnd(); in getLocEnd()
2014 End = S->getLocEnd(); in getLocEnd()
[all …]
DStmt.cpp193 (void) is_good(implements_getLocEnd(&type::getLocEnd))
241 static_cast<const S*>(stmt)->getLocEnd()); in getSourceRangeImpl()
270 SourceLocation Stmt::getLocEnd() const { in getLocEnd() function in Stmt
276 return static_cast<const type*>(this)->getLocEnd(); in getLocEnd()
/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.cpp263 ReceiverIsSuper ? Msg->getSuperLoc() : receiver->getLocEnd(); in rewriteToPropertyDotSyntax()
293 ReceiverIsSuper ? Msg->getSuperLoc() : receiver->getLocEnd(); in rewriteToPropertyDotSyntax()
724 SourceLocation EndOfEnumDclLoc = EnumDcl->getLocEnd(); in rewriteToNSEnumDecl()
734 SourceLocation EndTypedefDclLoc = TypedefDcl->getLocEnd(); in rewriteToNSEnumDecl()
744 EndOfEnumDclLoc = trans::findLocationAfterSemi(EnumDcl->getLocEnd(), NS.getASTContext(), in rewriteToNSEnumDecl()
778 EndLoc = TLoc.getLocEnd(); in rewriteToNSMacroDecl()
792 SourceLocation StartTypedefLoc = EnumDcl->getLocEnd(); in rewriteToNSMacroDecl()
794 SourceLocation EndTypedefLoc = TypedefDcl->getLocEnd(); in rewriteToNSMacroDecl()
825 SourceLocation EndLoc = Enumerator->getLocEnd(); in UseNSOptionsMacro()
1272 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/StaticAnalyzer/Core/
DCheckerHelpers.cpp23 if (S->getLocEnd().isMacroID()) in containsMacro()
/external/clang/lib/Sema/
DTreeTransform.h3187 Construct->getLocEnd(), in TransformInitializer()
7108 AssociatedStmt.get(), D->getLocStart(), D->getLocEnd()); in TransformOMPExecutableDirective()
7428 C->getNameModifierLoc(), C->getColonLoc(), C->getLocEnd()); in TransformOMPIfClause()
7437 C->getLParenLoc(), C->getLocEnd()); in TransformOMPFinalClause()
7447 NumThreads.get(), C->getLocStart(), C->getLParenLoc(), C->getLocEnd()); in TransformOMPNumThreadsClause()
7457 E.get(), C->getLocStart(), C->getLParenLoc(), C->getLocEnd()); in TransformOMPSafelenClause()
7467 E.get(), C->getLocStart(), C->getLParenLoc(), C->getLocEnd()); in TransformOMPSimdlenClause()
7477 E.get(), C->getLocStart(), C->getLParenLoc(), C->getLocEnd()); in TransformOMPCollapseClause()
7485 C->getLParenLoc(), C->getLocEnd()); in TransformOMPDefaultClause()
7493 C->getLParenLoc(), C->getLocEnd()); in TransformOMPProcBindClause()
[all …]
DSemaLambda.cpp736 Loc, Init->getLocStart(), Init->getLocEnd()) in buildLambdaInitCaptureInitialization()
1258 CallOperator->getBody()->getLocEnd()); in addFunctionPointerConversion()
1300 CallOperator->getBody()->getLocEnd()); in addFunctionPointerConversion()
1360 CallOperator->getBody()->getLocEnd()); in addBlockPointerConversion()
1463 return BuildLambdaExpr(StartLoc, Body->getLocEnd(), &LSI); in ActOnLambdaExpr()
DSemaInit.cpp486 SourceLocation Loc = ILE->getLocEnd(); in FillInEmptyInitForField()
662 ExprResult ElementInit = PerformEmptyInit(SemaRef, ILE->getLocEnd(), in FillInEmptyInitializations()
824 StructuredSubobjectInitList->getLocEnd()), in CheckImplicitInitList()
1366 IList->getLocEnd()); in CheckVectorType()
1413 CheckEmptyInitializable(ElementEntity, IList->getLocEnd()); in CheckVectorType()
1632 IList->getLocEnd()); in CheckArrayType()
1720 IList->getLocEnd()); in CheckStructUnionTypes()
1834 IList->getLocEnd()); in CheckStructUnionTypes()
2015 DIE->getLocEnd())); in CheckDesignatedInitializer()
2026 DIE->getLocEnd()); in CheckDesignatedInitializer()
[all …]
DSemaChecking.cpp58 return S.Diag(call->getLocEnd(), diag::err_typecheck_call_too_few_args) in checkArgCount()
64 call->getArg(argCount - 1)->getLocEnd()); in checkArgCount()
1669 Diag(TheCall->getLocEnd(), diag::err_typecheck_call_too_few_args) in SemaAtomicOpsOverloaded()
1932 Diag(TheCall->getLocEnd(), diag::err_typecheck_call_too_few_args_at_least) in SemaBuiltinAtomicOverloaded()
2203 Diag(TheCall->getLocEnd(), diag::err_typecheck_call_too_few_args_at_least) in SemaBuiltinAtomicOverloaded()
2210 Diag(TheCall->getLocEnd(), diag::warn_sync_fetch_and_nand_semantics_change) in SemaBuiltinAtomicOverloaded()
2399 (*(TheCall->arg_end()-1))->getLocEnd()); in SemaBuiltinVAStartImpl()
2404 return Diag(TheCall->getLocEnd(), in SemaBuiltinVAStartImpl()
2518 return Diag(Call->getLocEnd(), in SemaBuiltinVAStartARM()
2567 return Diag(TheCall->getLocEnd(), diag::err_typecheck_call_too_few_args) in SemaBuiltinUnorderedCompare()
[all …]

123