Home
last modified time | relevance | path

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

12

/NextBSD/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/
HDReturnPointerRangeChecker.cpp27 public Checker< check::PreStmt<ReturnStmt> > {
31 void checkPreStmt(const ReturnStmt *RS, CheckerContext &C) const;
35 void ReturnPointerRangeChecker::checkPreStmt(const ReturnStmt *RS, in checkPreStmt()
HDReturnUndefChecker.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()
HDStackAddrEscapeChecker.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()
HDCheckerDocumentation.cpp37 class CheckerDocumentation : public Checker< check::PreStmt<ReturnStmt>,
71 void checkPreStmt(const ReturnStmt *DS, CheckerContext &C) const {} in checkPreStmt()
HDIdenticalExprChecker.cpp348 const ReturnStmt *ReturnStmt1 = cast<ReturnStmt>(Stmt1); in isIdenticalStmt()
349 const ReturnStmt *ReturnStmt2 = cast<ReturnStmt>(Stmt2); in isIdenticalStmt()
HDObjCSelfInitChecker.cpp60 check::PreStmt<ReturnStmt>,
74 void checkPreStmt(const ReturnStmt *S, CheckerContext &C) const;
210 void ObjCSelfInitChecker::checkPreStmt(const ReturnStmt *S, in checkPreStmt()
HDDeadStoresChecker.cpp305 if (!parent || !isa<ReturnStmt>(parent)) in observeStmt()
HDRetainCountChecker.cpp2471 check::PreStmt<ReturnStmt>,
2644 void checkPreStmt(const ReturnStmt *S, CheckerContext &C) const;
2645 void checkReturnWithRetEffect(const ReturnStmt *S, CheckerContext &C,
3431 void RetainCountChecker::checkPreStmt(const ReturnStmt *S, in checkPreStmt()
3529 void RetainCountChecker::checkReturnWithRetEffect(const ReturnStmt *S, in checkReturnWithRetEffect()
HDMallocChecker.cpp160 check::PreStmt<ReturnStmt>,
206 void checkPreStmt(const ReturnStmt *S, CheckerContext &C) const;
2211 void MallocChecker::checkPreStmt(const ReturnStmt *S, CheckerContext &C) const { in checkPreStmt()
/NextBSD/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/
HDEnvironment.cpp97 const ReturnStmt *RS = cast<ReturnStmt>(S); in getSVal()
HDExprEngineCallAndReturn.cpp178 removeDead(Pred, Dst, dyn_cast<ReturnStmt>(LastSt), LCtx, in removeDeadOnEndOfFunction()
245 if (const ReturnStmt *RS = dyn_cast_or_null<ReturnStmt>(LastSt)) { in processCallExit()
991 void ExprEngine::VisitReturnStmt(const ReturnStmt *RS, ExplodedNode *Pred, in VisitReturnStmt()
HDBugReporterVisitors.cpp94 if (const ReturnStmt *RS = dyn_cast<ReturnStmt>(S)) in GetRetValExpr()
242 const ReturnStmt *Ret = dyn_cast<ReturnStmt>(SP->getStmt()); in visitNodeInitial()
/NextBSD/contrib/llvm/tools/clang/lib/ARCMigrate/
HDTransUnbridgedCasts.cpp186 isa<ReturnStmt>(StmtMap->getParentIgnoreParenCasts(E))) { in transformNonObjCToObjCCast()
379 if (ReturnStmt *retS = dyn_cast_or_null<ReturnStmt>(parent)) { in transformObjCToNonObjCCast()
HDTransRetainReleaseDealloc.cpp199 if (ReturnStmt *RetS = dyn_cast<ReturnStmt>(nextStmt)) in isReturnedAfterAutorelease()
HDTransAutoreleasePool.cpp307 if (ReturnStmt *retS = dyn_cast<ReturnStmt>(*SI)) in handlePoolScope()
/NextBSD/contrib/llvm/tools/clang/lib/Analysis/
HDBodyFarm.cpp82 ReturnStmt *makeReturn(const Expr *RetVal);
162 ReturnStmt *ASTMaker::makeReturn(const Expr *RetVal) { in makeReturn()
163 return new (C) ReturnStmt(SourceLocation(), const_cast<Expr*>(RetVal), in makeReturn()
HDReachableCode.cpp71 if (const ReturnStmt *RS = dyn_cast<ReturnStmt>(CS->getStmt())) { in isDeadReturn()
HDConsumed.cpp503 void VisitReturnStmt(const ReturnStmt *Ret);
886 void ConsumedStmtVisitor::VisitReturnStmt(const ReturnStmt *Ret) { in VisitReturnStmt()
/NextBSD/contrib/llvm/tools/clang/lib/Sema/
HDSemaLambda.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()
HDSemaStmt.cpp1369 void VisitReturnStmt(ReturnStmt *S) { in VisitReturnStmt()
2913 ReturnStmt *Result = new (Context) ReturnStmt(ReturnLoc, RetValExp, in ActOnCapScopeReturnStmt()
3069 const_cast<VarDecl*>(cast<ReturnStmt>(R.get())->getNRVOCandidate())) { in ActOnReturnStmt()
3131 ReturnStmt *Result = nullptr; in BuildReturnStmt()
3207 Result = new (Context) ReturnStmt(ReturnLoc, RetValExp, nullptr); in BuildReturnStmt()
3229 Result = new (Context) ReturnStmt(ReturnLoc); in BuildReturnStmt()
3282 Result = new (Context) ReturnStmt(ReturnLoc, RetValExp, NRVOCandidate); in BuildReturnStmt()
/NextBSD/contrib/llvm/tools/clang/include/clang/Sema/
HDScopeInfo.h39 class ReturnStmt; variable
143 SmallVector<ReturnStmt*, 4> Returns;
/NextBSD/contrib/llvm/tools/clang/include/clang/AST/
HDStmt.h1351 class ReturnStmt : public Stmt {
1357 explicit ReturnStmt(SourceLocation RL) : ReturnStmt(RL, nullptr, nullptr) {} in ReturnStmt() function
1359 ReturnStmt(SourceLocation RL, Expr *E, const VarDecl *NRVOCandidate) in ReturnStmt() function
1364 explicit ReturnStmt(EmptyShell Empty) : Stmt(ReturnStmtClass, Empty) { } in ReturnStmt() function
/NextBSD/contrib/llvm/tools/clang/include/clang/Basic/
HDStmtNodes.td25 def ReturnStmt : Stmt;
/NextBSD/contrib/llvm/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
HDExprEngine.h401 void VisitReturnStmt(const ReturnStmt *R, ExplodedNode *Pred,
/NextBSD/contrib/llvm/tools/clang/lib/CodeGen/
HDCodeGenPGO.cpp316 void VisitReturnStmt(const ReturnStmt *S) { in VisitReturnStmt()

12