Home
last modified time | relevance | path

Searched refs:getLocEnd (Results 1 – 25 of 74) 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()
199 SourceLocation getLocEnd() const LLVM_READONLY { in getLocEnd() function
200 return SubExprs[BODY]->getLocEnd(); in getLocEnd()
285 SourceLocation getLocEnd() const LLVM_READONLY { return SubStmt->getLocEnd();} in getLocEnd() function
355 SourceLocation getLocEnd() const LLVM_READONLY { in getLocEnd() function
356 return getBody()->getLocEnd(); in getLocEnd()
407 SourceLocation getLocEnd() const LLVM_READONLY { in getLocEnd() function
[all …]
DStmt.h359 SourceLocation getLocEnd() const LLVM_READONLY; in LLVM_ALIGNAS()
474 SourceLocation getLocEnd() const LLVM_READONLY { return EndLoc; } in getLocEnd() function
535 SourceLocation getLocEnd() const LLVM_READONLY { return SemiLoc; } in getLocEnd() function
627 SourceLocation getLocEnd() const LLVM_READONLY { return RBraceLoc; } in getLocEnd() function
681 SourceLocation getLocEnd() const LLVM_READONLY;
731 SourceLocation getLocEnd() const LLVM_READONLY { in getLocEnd() function
737 return CS->getSubStmt()->getLocEnd(); in getLocEnd()
770 SourceLocation getLocEnd() const LLVM_READONLY { return SubStmt->getLocEnd();} in getLocEnd() function
780 inline SourceLocation SwitchCase::getLocEnd() const { in getLocEnd() function
782 return CS->getLocEnd(); in getLocEnd()
[all …]
DExprCXX.h94 SourceLocation getLocEnd() const LLVM_READONLY { return Range.getEnd(); } in getLocEnd() function
234 SourceLocation getLocEnd() const LLVM_READONLY { return RParenLoc; } in getLocEnd() function
449 SourceLocation getLocEnd() const { return getRParenLoc(); } in getLocEnd() function
487 SourceLocation getLocEnd() const LLVM_READONLY { return Loc; } in getLocEnd() function
517 SourceLocation getLocEnd() const LLVM_READONLY { return Loc; } in getLocEnd() function
553 SourceLocation getLocEnd() const LLVM_READONLY { in getLocEnd() function
554 return SubExpr->getLocEnd(); in getLocEnd()
641 SourceLocation getLocEnd() const LLVM_READONLY { return Range.getEnd(); } in getLocEnd() function
686 return SourceRange(getLocStart(), getLocEnd()); in getSourceRange()
699 SourceLocation getLocEnd() const { return getMemberLoc(); } in getLocEnd() function
[all …]
DExpr.h882 SourceLocation getLocEnd() const LLVM_READONLY { in getLocEnd() function
883 return SourceExpr ? SourceExpr->getLocEnd() : Loc; in getLocEnd()
1028 SourceLocation getLocEnd() const LLVM_READONLY;
1201 SourceLocation getLocEnd() const LLVM_READONLY { return Loc; } in getLocEnd() function
1287 SourceLocation getLocEnd() const LLVM_READONLY { return Loc; } in getLocEnd() function
1336 SourceLocation getLocEnd() const LLVM_READONLY { return Loc; } in getLocEnd() function
1406 SourceLocation getLocEnd() const LLVM_READONLY { return Loc; } in getLocEnd() function
1440 SourceLocation getLocEnd() const LLVM_READONLY { return Val->getLocEnd(); } in getLocEnd() function
1603 SourceLocation getLocEnd() const LLVM_READONLY { in getLocEnd() function
1640 SourceLocation getLocEnd() const LLVM_READONLY { return R; } 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
168 SourceLocation getLocEnd() const LLVM_READONLY { return Range.getEnd(); } in getLocEnd() function
327 SourceLocation getLocEnd() const LLVM_READONLY { return Range.getEnd(); }
384 SourceLocation getLocEnd() const LLVM_READONLY { return RParenLoc; }
418 SourceLocation getLocEnd() const LLVM_READONLY { return RParenLoc; }
463 SourceLocation getLocEnd() const LLVM_READONLY { return RParenLoc; }
524 SourceLocation getLocEnd() const LLVM_READONLY { return Loc; }
709 SourceLocation getLocEnd() const LLVM_READONLY { return IdLoc; }
[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.h536 return SourceRange(getLocStart(), getLocEnd()); in getSourceRange()
541 SourceLocation getLocEnd() const LLVM_READONLY { in getLocEnd() function
DRawCommentList.h112 SourceLocation getLocEnd() const LLVM_READONLY { return Range.getEnd(); } in getLocEnd() function
DDeclFriend.h142 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.cpp204 SourceLocation CXXPseudoDestructorExpr::getLocEnd() const { in getLocEnd() function in CXXPseudoDestructorExpr
413 SourceLocation CXXConstructExpr::getLocEnd() const { in getLocEnd() function in CXXConstructExpr
415 return cast<CXXTemporaryObjectExpr>(this)->getLocEnd(); in getLocEnd()
424 SourceLocation NewEnd = Arg->getLocEnd(); in getLocEnd()
440 return SourceRange(getOperatorLoc(), getArg(0)->getLocEnd()); in getSourceRangeImpl()
451 return SourceRange(getOperatorLoc(), getArg(0)->getLocEnd()); in getSourceRangeImpl()
453 return SourceRange(getArg(0)->getLocStart(), getArg(1)->getLocEnd()); in getSourceRangeImpl()
655 SourceLocation CXXFunctionalCastExpr::getLocEnd() const { in getLocEnd() function in CXXFunctionalCastExpr
656 return RParenLoc.isValid() ? RParenLoc : getSubExpr()->getLocEnd(); in getLocEnd()
744 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.cpp432 SourceLocation DeclRefExpr::getLocEnd() const { in getLocEnd() function in DeclRefExpr
435 return getNameInfo().getLocEnd(); in getLocEnd()
1300 SourceLocation CallExpr::getLocEnd() const { in getLocEnd() function in CallExpr
1302 return cast<CXXOperatorCallExpr>(this)->getLocEnd(); in getLocEnd()
1306 end = getArg(getNumArgs() - 1)->getLocEnd(); in getLocEnd()
1476 SourceLocation MemberExpr::getLocEnd() const { in getLocEnd() function in MemberExpr
1481 EndLoc = getBase()->getLocEnd(); in getLocEnd()
1851 SourceLocation InitListExpr::getLocEnd() const { in getLocEnd() function in InitListExpr
1853 return SyntacticForm->getLocEnd(); in getLocEnd()
1861 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.cpp264 ReceiverIsSuper ? Msg->getSuperLoc() : receiver->getLocEnd(); in rewriteToPropertyDotSyntax()
294 ReceiverIsSuper ? Msg->getSuperLoc() : receiver->getLocEnd(); in rewriteToPropertyDotSyntax()
725 SourceLocation EndOfEnumDclLoc = EnumDcl->getLocEnd(); in rewriteToNSEnumDecl()
735 SourceLocation EndTypedefDclLoc = TypedefDcl->getLocEnd(); in rewriteToNSEnumDecl()
745 EndOfEnumDclLoc = trans::findLocationAfterSemi(EnumDcl->getLocEnd(), NS.getASTContext(), in rewriteToNSEnumDecl()
779 EndLoc = TLoc.getLocEnd(); in rewriteToNSMacroDecl()
793 SourceLocation StartTypedefLoc = EnumDcl->getLocEnd(); in rewriteToNSMacroDecl()
795 SourceLocation EndTypedefLoc = TypedefDcl->getLocEnd(); in rewriteToNSMacroDecl()
826 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/bcc/src/cc/frontends/clang/
Dfrontend_action_common.h21 #define GET_ENDLOC(E) ((E)->getLocEnd())
/external/clang/lib/Sema/
DTreeTransform.h3270 Construct->getLocEnd(), in TransformInitializer()
7218 AssociatedStmt.get(), D->getLocStart(), D->getLocEnd()); in TransformOMPExecutableDirective()
7639 C->getNameModifierLoc(), C->getColonLoc(), C->getLocEnd()); in TransformOMPIfClause()
7648 C->getLParenLoc(), C->getLocEnd()); in TransformOMPFinalClause()
7658 NumThreads.get(), C->getLocStart(), C->getLParenLoc(), C->getLocEnd()); in TransformOMPNumThreadsClause()
7668 E.get(), C->getLocStart(), C->getLParenLoc(), C->getLocEnd()); in TransformOMPSafelenClause()
7678 E.get(), C->getLocStart(), C->getLParenLoc(), C->getLocEnd()); in TransformOMPSimdlenClause()
7688 E.get(), C->getLocStart(), C->getLParenLoc(), C->getLocEnd()); in TransformOMPCollapseClause()
7696 C->getLParenLoc(), C->getLocEnd()); in TransformOMPDefaultClause()
7704 C->getLParenLoc(), C->getLocEnd()); in TransformOMPProcBindClause()
[all …]
DSemaInit.cpp505 : PerformEmptyInit(SemaRef, ILE->getLocEnd(), BaseEntity, in FillInEmptyInitForBase()
530 SourceLocation Loc = ILE->getLocEnd(); in FillInEmptyInitForField()
718 ExprResult ElementInit = PerformEmptyInit(SemaRef, ILE->getLocEnd(), in FillInEmptyInitializations()
884 StructuredSubobjectInitList->getLocEnd()), in CheckImplicitInitList()
1428 IList->getLocEnd()); in CheckVectorType()
1475 CheckEmptyInitializable(ElementEntity, IList->getLocEnd()); in CheckVectorType()
1694 IList->getLocEnd()); in CheckArrayType()
1779 IList->getLocEnd()); in CheckStructUnionTypes()
1793 SourceLocation InitLoc = Init ? Init->getLocStart() : IList->getLocEnd(); in CheckStructUnionTypes()
1915 IList->getLocEnd()); in CheckStructUnionTypes()
[all …]
DSemaLambda.cpp739 Loc, Init->getLocStart(), Init->getLocEnd()) in buildLambdaInitCaptureInitialization()
1265 CallOperator->getBody()->getLocEnd()); in addFunctionPointerConversion()
1307 CallOperator->getBody()->getLocEnd()); in addFunctionPointerConversion()
1367 CallOperator->getBody()->getLocEnd()); in addBlockPointerConversion()
1470 return BuildLambdaExpr(StartLoc, Body->getLocEnd(), &LSI); in ActOnLambdaExpr()
/external/clang/lib/StaticAnalyzer/Core/
DCheckerHelpers.cpp23 if (S->getLocEnd().isMacroID()) in containsMacro()

123