Home
last modified time | relevance | path

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

1234

/netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/
H A DMIGChecker.cpp37 class MIGChecker : public Checker<check::PostCall, check::PreStmt<ReturnStmt>,
90 void checkReturnAux(const ReturnStmt *RS, CheckerContext &C) const;
101 void checkPreStmt(const ReturnStmt *RS, CheckerContext &C) const { in checkPreStmt()
104 void checkEndFunction(const ReturnStmt *RS, CheckerContext &C) const { in checkEndFunction()
247 void MIGChecker::checkReturnAux(const ReturnStmt *RS, CheckerContext &C) const { in checkReturnAux()
H A 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()
H A DReturnUndefChecker.cpp26 class ReturnUndefChecker : public Checker< check::PreStmt<ReturnStmt> > {
34 void checkPreStmt(const ReturnStmt *RS, CheckerContext &C) const;
38 void ReturnUndefChecker::checkPreStmt(const ReturnStmt *RS, in checkPreStmt()
H A DCheckerDocumentation.cpp36 class CheckerDocumentation : public Checker< check::PreStmt<ReturnStmt>,
72 void checkPreStmt(const ReturnStmt *DS, CheckerContext &C) const {} in checkPreStmt()
194 void checkEndFunction(const ReturnStmt *RS, CheckerContext &Ctx) const {} in checkEndFunction()
H A DStackAddrEscapeChecker.cpp30 : public Checker<check::PreCall, check::PreStmt<ReturnStmt>,
49 void checkPreStmt(const ReturnStmt *RS, CheckerContext &C) const;
50 void checkEndFunction(const ReturnStmt *RS, CheckerContext &Ctx) const;
252 void StackAddrEscapeChecker::checkPreStmt(const ReturnStmt *RS, in checkPreStmt()
294 void StackAddrEscapeChecker::checkEndFunction(const ReturnStmt *RS, in checkEndFunction()
H A DVforkChecker.cpp45 check::Bind, check::PreStmt<ReturnStmt>> {
64 void checkPreStmt(const ReturnStmt *RS, CheckerContext &C) const;
210 void VforkChecker::checkPreStmt(const ReturnStmt *RS, CheckerContext &C) const { in checkPreStmt()
H A DTraversalChecker.cpp32 void checkEndFunction(const ReturnStmt *RS, CheckerContext &C) const;
58 void TraversalDumper::checkEndFunction(const ReturnStmt *RS, in checkEndFunction()
H A DReturnValueChecker.cpp32 void checkEndFunction(const ReturnStmt *RS, CheckerContext &C) const;
117 void ReturnValueChecker::checkEndFunction(const ReturnStmt *RS, in checkEndFunction()
H A DIdenticalExprChecker.cpp369 const ReturnStmt *ReturnStmt1 = cast<ReturnStmt>(Stmt1); in isIdenticalStmt()
370 const ReturnStmt *ReturnStmt2 = cast<ReturnStmt>(Stmt2); in isIdenticalStmt()
H A DObjCSelfInitChecker.cpp59 check::PreStmt<ReturnStmt>,
73 void checkPreStmt(const ReturnStmt *S, CheckerContext &C) const;
209 void ObjCSelfInitChecker::checkPreStmt(const ReturnStmt *S, in checkPreStmt()
H A DVirtualCallChecker.cpp50 void checkEndFunction(const ReturnStmt *RS, CheckerContext &C) const;
93 void VirtualCallChecker::checkEndFunction(const ReturnStmt *RS, in checkEndFunction()
H A DCheckObjCDealloc.cpp99 check::PreStmt<ReturnStmt>> {
127 void checkPreStmt(const ReturnStmt *RS, CheckerContext &C) const;
128 void checkEndFunction(const ReturnStmt *RS, CheckerContext &Ctx) const;
392 const ReturnStmt *RS, CheckerContext &C) const { in checkEndFunction()
398 const ReturnStmt *RS, CheckerContext &C) const { in checkPreStmt()
H A DTestAfterDivZeroChecker.cpp86 void checkEndFunction(const ReturnStmt *RS, CheckerContext &C) const;
181 void TestAfterDivZeroChecker::checkEndFunction(const ReturnStmt *, in checkEndFunction() argument
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Analysis/
H A DConstructionContext.h93 ConstructionContextItem(const ReturnStmt *RS) in ConstructionContextItem()
560 const ReturnStmt *RS;
564 const ReturnStmt *RS) in ReturnedValueConstructionContext()
571 const ReturnStmt *getReturnStmt() const { return RS; } in getReturnStmt()
588 explicit SimpleReturnedValueConstructionContext(const ReturnStmt *RS) in SimpleReturnedValueConstructionContext()
613 const ReturnStmt *RS, const CXXBindTemporaryExpr *BTE) in CXX17ElidedCopyReturnedValueConstructionContext()
H A DProgramPoint.h337 explicit FunctionExitPoint(const ReturnStmt *S,
346 const ReturnStmt *getStmt() const { in getStmt()
347 return reinterpret_cast<const ReturnStmt *>(getData1()); in getStmt()
671 CallExitBegin(const StackFrameContext *L, const ReturnStmt *RS) in CallExitBegin()
674 const ReturnStmt *getReturnStmt() const { in getReturnStmt()
675 return static_cast<const ReturnStmt *>(getData1()); in getReturnStmt()
/netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/
H A DRetainCountChecker.h326 ExplodedNode* checkReturnWithRetEffect(const ReturnStmt *S, CheckerContext &C,
332 void checkEndFunction(const ReturnStmt *RS, CheckerContext &C) const;
356 const ReturnStmt *S=nullptr) const;
373 ExplodedNode * processReturn(const ReturnStmt *S, CheckerContext &C) const;
/netbsd-src/external/apache2/llvm/dist/clang/lib/AST/
H A DStmt.cpp1175 ReturnStmt::ReturnStmt(SourceLocation RL, Expr *E, const VarDecl *NRVOCandidate) in ReturnStmt() function in ReturnStmt
1184 ReturnStmt::ReturnStmt(EmptyShell Empty, bool HasNRVOCandidate) in ReturnStmt() function in ReturnStmt
1189 ReturnStmt *ReturnStmt::Create(const ASTContext &Ctx, SourceLocation RL, in Create()
1193 alignof(ReturnStmt)); in Create()
1194 return new (Mem) ReturnStmt(RL, E, NRVOCandidate); in Create()
1197 ReturnStmt *ReturnStmt::CreateEmpty(const ASTContext &Ctx, in CreateEmpty()
1200 alignof(ReturnStmt)); in CreateEmpty()
1201 return new (Mem) ReturnStmt(EmptyShell(), HasNRVOCandidate); in CreateEmpty()
H A DStmtCXX.cpp122 SubStmts[CoroutineBodyStmt::ReturnStmt] = Args.ReturnStmt; in CoroutineBodyStmt()
/netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Core/
H A DCoreEngine.cpp243 const ReturnStmt *RS = nullptr; in HandleBlockEdge()
247 RS = dyn_cast<ReturnStmt>(LastStmt->getStmt()); in HandleBlockEdge()
250 RS = dyn_cast<ReturnStmt>(AutoDtor->getTriggerStmt()); in HandleBlockEdge()
564 const ReturnStmt *RS) { in generateCallExitBeginNode()
588 void CoreEngine::enqueueEndOfFunction(ExplodedNodeSet &Set, const ReturnStmt *RS) { in enqueueEndOfFunction()
H A DEnvironment.cpp91 assert((isa<Expr>(S) || isa<ReturnStmt>(S)) && in getSVal()
124 const auto *RS = cast<ReturnStmt>(S); in getSVal()
/netbsd-src/external/apache2/llvm/dist/clang/lib/AST/Interp/
H A DByteCodeStmtGen.cpp120 return visitReturnStmt(cast<ReturnStmt>(S)); in visitStmt()
163 bool ByteCodeStmtGen<Emitter>::visitReturnStmt(const ReturnStmt *RS) { in visitReturnStmt()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Analysis/
H A DConstructionContext.cpp120 const auto *RS = cast<ReturnStmt>(ParentItem.getStmt()); in createBoundTemporaryFromLayers()
183 const auto *RS = cast<ReturnStmt>(TopItem.getStmt()); in createFromLayers()
/netbsd-src/external/apache2/llvm/dist/clang/lib/ARCMigrate/
H A DTransUnbridgedCasts.cpp185 isa<ReturnStmt>(StmtMap->getParentIgnoreParenCasts(E))) { in transformNonObjCToObjCCast()
376 if (ReturnStmt *retS = dyn_cast_or_null<ReturnStmt>(parent)) { in transformObjCToNonObjCCast()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/
H A DSemaCoroutine.cpp1234 StmtResult ReturnStmt = in makeReturnOnAllocFailure() local
1236 if (ReturnStmt.isInvalid()) { in makeReturnOnAllocFailure()
1244 this->ReturnStmtOnAllocFailure = ReturnStmt.get(); in makeReturnOnAllocFailure()
1616 StmtResult ReturnStmt = S.BuildReturnStmt(Loc, declRef.get()); in makeGroDeclAndReturnStmt() local
1617 if (ReturnStmt.isInvalid()) { in makeGroDeclAndReturnStmt()
1621 if (cast<clang::ReturnStmt>(ReturnStmt.get())->getNRVOCandidate() == GroDecl) in makeGroDeclAndReturnStmt()
1624 this->ReturnStmt = ReturnStmt.get(); in makeGroDeclAndReturnStmt()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/AST/
H A DStmtCXX.h331 ReturnStmt, ///< Return statement for the thunk function. enumerator
358 Stmt *ReturnStmt = nullptr; member
413 Stmt *getReturnStmt() const { return getStoredStmts()[SubStmt::ReturnStmt]; } in getReturnStmt()

1234