Home
last modified time | relevance | path

Searched refs:ReturnStmt (Results 1 – 25 of 54) sorted by relevance

123

/external/clang/lib/StaticAnalyzer/Checkers/
DReturnPointerRangeChecker.cpp27 public Checker< check::PreStmt<ReturnStmt> > {
31 void checkPreStmt(const ReturnStmt *RS, CheckerContext &C) const;
35 void ReturnPointerRangeChecker::checkPreStmt(const ReturnStmt *RS, in checkPreStmt()
DReturnUndefChecker.cpp27 class ReturnUndefChecker : public Checker< check::PreStmt<ReturnStmt> > {
35 void checkPreStmt(const ReturnStmt *RS, CheckerContext &C) const;
39 void ReturnUndefChecker::checkPreStmt(const ReturnStmt *RS, in checkPreStmt()
DVforkChecker.cpp46 check::Bind, check::PreStmt<ReturnStmt>> {
65 void checkPreStmt(const ReturnStmt *RS, CheckerContext &C) const;
210 void VforkChecker::checkPreStmt(const ReturnStmt *RS, CheckerContext &C) const { in checkPreStmt()
DCheckerDocumentation.cpp37 class CheckerDocumentation : public Checker< check::PreStmt<ReturnStmt>,
72 void checkPreStmt(const ReturnStmt *DS, CheckerContext &C) const {} in checkPreStmt()
DStackAddrEscapeChecker.cpp29 class StackAddrEscapeChecker : public Checker< check::PreStmt<ReturnStmt>,
35 void checkPreStmt(const ReturnStmt *RS, CheckerContext &C) const;
119 void StackAddrEscapeChecker::checkPreStmt(const ReturnStmt *RS, in checkPreStmt()
DIdenticalExprChecker.cpp367 const ReturnStmt *ReturnStmt1 = cast<ReturnStmt>(Stmt1); in isIdenticalStmt()
368 const ReturnStmt *ReturnStmt2 = cast<ReturnStmt>(Stmt2); in isIdenticalStmt()
DObjCSelfInitChecker.cpp60 check::PreStmt<ReturnStmt>,
74 void checkPreStmt(const ReturnStmt *S, CheckerContext &C) const;
210 void ObjCSelfInitChecker::checkPreStmt(const ReturnStmt *S, in checkPreStmt()
DNullabilityChecker.cpp105 : public Checker<check::Bind, check::PreCall, check::PreStmt<ReturnStmt>,
114 void checkPreStmt(const ReturnStmt *S, CheckerContext &C) const;
469 void NullabilityChecker::checkPreStmt(const ReturnStmt *S, in checkPreStmt()
DDeadStoresChecker.cpp305 if (!parent || !isa<ReturnStmt>(parent)) in observeStmt()
/external/clang/test/Index/
Dusrs.m184 // CHECK-source: usrs.m:3:45: ReturnStmt= Extent=[3:45 - 3:57]
223 // CHECK-source: usrs.m:38:3: ReturnStmt= Extent=[38:3 - 38:11]
231 // CHECK-source: usrs.m:42:3: ReturnStmt= Extent=[42:3 - 42:11]
239 // CHECK-source: usrs.m:49:32: ReturnStmt= Extent=[49:32 - 49:40]
260 // CHECK-source: usrs.m:64:16: ReturnStmt= Extent=[64:16 - 64:24]
266 // CHECK-source: usrs.m:65:16: ReturnStmt= Extent=[65:16 - 65:24]
272 // CHECK-source: usrs.m:66:16: ReturnStmt= Extent=[66:16 - 66:24]
280 // CHECK-source: usrs.m:69:16: ReturnStmt= Extent=[69:16 - 69:24]
302 // CHECK-source: usrs.m:76:3: ReturnStmt= Extent=[76:3 - 76:11]
Dannotate-subscripting.m57 // CHECK: Keyword: "return" [26:3 - 26:9] ReturnStmt=
Dannotate-tokens.m190 // CHECK: Keyword: "return" [7:3 - 7:9] ReturnStmt=
392 // CHECK: Keyword: "return" [72:3 - 72:9] ReturnStmt=
422 // CHECK: Keyword: "return" [78:5 - 78:11] ReturnStmt=
438 // CHECK: Keyword: "return" [81:3 - 81:9] ReturnStmt=
491 // CHECK: Keyword: "return" [100:3 - 100:9] ReturnStmt=
/external/clang/lib/StaticAnalyzer/Core/
DEnvironment.cpp98 const ReturnStmt *RS = cast<ReturnStmt>(S); in getSVal()
DExprEngineCallAndReturn.cpp178 removeDead(Pred, Dst, dyn_cast<ReturnStmt>(LastSt), LCtx, in removeDeadOnEndOfFunction()
245 if (const ReturnStmt *RS = dyn_cast_or_null<ReturnStmt>(LastSt)) { in processCallExit()
995 void ExprEngine::VisitReturnStmt(const ReturnStmt *RS, ExplodedNode *Pred, in VisitReturnStmt()
DBugReporterVisitors.cpp94 if (const ReturnStmt *RS = dyn_cast<ReturnStmt>(S)) in GetRetValExpr()
242 const ReturnStmt *Ret = dyn_cast<ReturnStmt>(SP->getStmt()); in visitNodeInitial()
/external/clang/lib/Analysis/
DBodyFarm.cpp79 ReturnStmt *makeReturn(const Expr *RetVal);
159 ReturnStmt *ASTMaker::makeReturn(const Expr *RetVal) { in makeReturn()
160 return new (C) ReturnStmt(SourceLocation(), const_cast<Expr*>(RetVal), in makeReturn()
DReachableCode.cpp71 if (const ReturnStmt *RS = dyn_cast<ReturnStmt>(CS->getStmt())) { in isDeadReturn()
/external/clang/lib/ARCMigrate/
DTransUnbridgedCasts.cpp186 isa<ReturnStmt>(StmtMap->getParentIgnoreParenCasts(E))) { in transformNonObjCToObjCCast()
379 if (ReturnStmt *retS = dyn_cast_or_null<ReturnStmt>(parent)) { in transformObjCToNonObjCCast()
DTransRetainReleaseDealloc.cpp193 if (ReturnStmt *RetS = dyn_cast<ReturnStmt>(nextStmt)) in isReturnedAfterAutorelease()
DTransAutoreleasePool.cpp307 if (ReturnStmt *retS = dyn_cast<ReturnStmt>(*SI)) in handlePoolScope()
/external/clang/lib/Sema/
DSemaLambda.cpp559 static EnumDecl *findEnumForBlockReturn(ReturnStmt *ret) { in findEnumForBlockReturn()
568 static EnumDecl *findCommonEnumForBlockReturns(ArrayRef<ReturnStmt*> returns) { in findCommonEnumForBlockReturns()
569 ArrayRef<ReturnStmt*>::iterator i = returns.begin(), e = returns.end(); in findCommonEnumForBlockReturns()
589 static void adjustBlockReturnsToEnum(Sema &S, ArrayRef<ReturnStmt*> returns, in adjustBlockReturnsToEnum()
591 for (ArrayRef<ReturnStmt*>::iterator in adjustBlockReturnsToEnum()
593 ReturnStmt *ret = *i; in adjustBlockReturnsToEnum()
671 SmallVectorImpl<ReturnStmt*>::iterator I = CSI.Returns.begin(), in deduceClosureReturnType()
683 const ReturnStmt *RS = *I; in deduceClosureReturnType()
DSemaStmt.cpp1370 void VisitReturnStmt(ReturnStmt *S) { in VisitReturnStmt()
2948 ReturnStmt *Result = new (Context) ReturnStmt(ReturnLoc, RetValExp, in ActOnCapScopeReturnStmt()
3105 const_cast<VarDecl*>(cast<ReturnStmt>(R.get())->getNRVOCandidate())) { in ActOnReturnStmt()
3167 ReturnStmt *Result = nullptr; in BuildReturnStmt()
3243 Result = new (Context) ReturnStmt(ReturnLoc, RetValExp, nullptr); in BuildReturnStmt()
3265 Result = new (Context) ReturnStmt(ReturnLoc); in BuildReturnStmt()
3318 Result = new (Context) ReturnStmt(ReturnLoc, RetValExp, NRVOCandidate); in BuildReturnStmt()
/external/clang/include/clang/Sema/
DScopeInfo.h39 class ReturnStmt; variable
146 SmallVector<ReturnStmt*, 4> Returns;
/external/clang/include/clang/AST/
DStmt.h1344 class ReturnStmt : public Stmt {
1350 explicit ReturnStmt(SourceLocation RL) : ReturnStmt(RL, nullptr, nullptr) {} in ReturnStmt() function
1352 ReturnStmt(SourceLocation RL, Expr *E, const VarDecl *NRVOCandidate) in ReturnStmt() function
1357 explicit ReturnStmt(EmptyShell Empty) : Stmt(ReturnStmtClass, Empty) { } in ReturnStmt() function
/external/clang/docs/
DIntroductionToTheClangAST.rst64 `-ReturnStmt 0x5aead68 <line:3:3, col:10>

123