Home
last modified time | relevance | path

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

1234

/openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Checkers/
H A DMIGChecker.cpp39 class MIGChecker : public Checker<check::PostCall, check::PreStmt<ReturnStmt>,
92 void checkReturnAux(const ReturnStmt *RS, CheckerContext &C) const;
103 void checkPreStmt(const ReturnStmt *RS, CheckerContext &C) const { in checkPreStmt()
106 void checkEndFunction(const ReturnStmt *RS, CheckerContext &C) const { in checkEndFunction()
249 void MIGChecker::checkReturnAux(const ReturnStmt *RS, CheckerContext &C) const { in checkReturnAux()
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 DReturnPointerRangeChecker.cpp28 public Checker< check::PreStmt<ReturnStmt> > {
32 void checkPreStmt(const ReturnStmt *RS, CheckerContext &C) const;
36 void ReturnPointerRangeChecker::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 DVforkChecker.cpp46 check::Bind, check::PreStmt<ReturnStmt>> {
66 void checkPreStmt(const ReturnStmt *RS, CheckerContext &C) const;
213 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 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;
244 void StackAddrEscapeChecker::checkPreStmt(const ReturnStmt *RS, in checkPreStmt()
285 void StackAddrEscapeChecker::checkEndFunction(const ReturnStmt *RS, in checkEndFunction()
H A DReturnValueChecker.cpp33 void checkEndFunction(const ReturnStmt *RS, CheckerContext &C) const;
119 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;
210 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.cpp100 check::PreStmt<ReturnStmt>> {
128 void checkPreStmt(const ReturnStmt *RS, CheckerContext &C) const;
129 void checkEndFunction(const ReturnStmt *RS, CheckerContext &Ctx) const;
393 const ReturnStmt *RS, CheckerContext &C) const { in checkEndFunction()
399 const ReturnStmt *RS, CheckerContext &C) const { in checkPreStmt()
H A DTestAfterDivZeroChecker.cpp87 void checkEndFunction(const ReturnStmt *RS, CheckerContext &C) const;
182 void TestAfterDivZeroChecker::checkEndFunction(const ReturnStmt *, in checkEndFunction() argument
/openbsd-src/gnu/llvm/clang/include/clang/Analysis/
H A DConstructionContext.h96 ConstructionContextItem(const ReturnStmt *RS) in ConstructionContextItem()
583 const ReturnStmt *RS;
587 const ReturnStmt *RS) in ReturnedValueConstructionContext()
594 const ReturnStmt *getReturnStmt() const { return RS; } in getReturnStmt()
611 explicit SimpleReturnedValueConstructionContext(const ReturnStmt *RS) in SimpleReturnedValueConstructionContext()
636 const ReturnStmt *RS, const CXXBindTemporaryExpr *BTE) in CXX17ElidedCopyReturnedValueConstructionContext()
H A DProgramPoint.h335 explicit FunctionExitPoint(const ReturnStmt *S,
344 const ReturnStmt *getStmt() const { in getStmt()
345 return reinterpret_cast<const ReturnStmt *>(getData1()); in getStmt()
669 CallExitBegin(const StackFrameContext *L, const ReturnStmt *RS) in CallExitBegin()
672 const ReturnStmt *getReturnStmt() const { in getReturnStmt()
673 return static_cast<const ReturnStmt *>(getData1()); in getReturnStmt()
/openbsd-src/gnu/llvm/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;
/openbsd-src/gnu/llvm/clang/lib/AST/
H A DStmt.cpp1188 ReturnStmt::ReturnStmt(SourceLocation RL, Expr *E, const VarDecl *NRVOCandidate) in ReturnStmt() function in ReturnStmt
1197 ReturnStmt::ReturnStmt(EmptyShell Empty, bool HasNRVOCandidate) in ReturnStmt() function in ReturnStmt
1202 ReturnStmt *ReturnStmt::Create(const ASTContext &Ctx, SourceLocation RL, in Create()
1206 alignof(ReturnStmt)); in Create()
1207 return new (Mem) ReturnStmt(RL, E, NRVOCandidate); in Create()
1210 ReturnStmt *ReturnStmt::CreateEmpty(const ASTContext &Ctx, in CreateEmpty()
1213 alignof(ReturnStmt)); in CreateEmpty()
1214 return new (Mem) ReturnStmt(EmptyShell(), HasNRVOCandidate); in CreateEmpty()
H A DStmtCXX.cpp121 SubStmts[CoroutineBodyStmt::ReturnStmt] = Args.ReturnStmt; in CoroutineBodyStmt()
/openbsd-src/gnu/llvm/clang/include/clang/AST/
H A DStmtCXX.h330 ReturnStmt, ///< Return statement for the thunk function. enumerator
356 Stmt *ReturnStmt = nullptr; member
412 auto *RS = cast<clang::ReturnStmt>(getReturnStmt()); in getReturnValue()
415 Stmt *getReturnStmt() const { return getStoredStmts()[SubStmt::ReturnStmt]; } in getReturnStmt()
/openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Core/
H A DCoreEngine.cpp273 const ReturnStmt *RS = nullptr; in HandleBlockEdge()
277 RS = dyn_cast<ReturnStmt>(LastStmt->getStmt()); in HandleBlockEdge()
280 RS = dyn_cast<ReturnStmt>(AutoDtor->getTriggerStmt()); in HandleBlockEdge()
593 const ReturnStmt *RS) { in generateCallExitBeginNode()
617 void CoreEngine::enqueueEndOfFunction(ExplodedNodeSet &Set, const ReturnStmt *RS) { in enqueueEndOfFunction()
H A DEnvironment.cpp91 assert((isa<Expr, ReturnStmt>(S)) && in getSVal()
124 const auto *RS = cast<ReturnStmt>(S); in getSVal()
/openbsd-src/gnu/llvm/clang/lib/Analysis/
H A DConstructionContext.cpp120 const auto *RS = cast<ReturnStmt>(ParentItem.getStmt()); in createBoundTemporaryFromLayers()
189 const auto *RS = cast<ReturnStmt>(TopItem.getStmt()); in createFromLayers()
/openbsd-src/gnu/llvm/clang/lib/ARCMigrate/
H A DTransUnbridgedCasts.cpp184 isa<ReturnStmt>(StmtMap->getParentIgnoreParenCasts(E))) { in transformNonObjCToObjCCast()
376 if (ReturnStmt *retS = dyn_cast_or_null<ReturnStmt>(parent)) { in transformObjCToNonObjCCast()
/openbsd-src/gnu/llvm/clang/lib/AST/Interp/
H A DByteCodeStmtGen.h58 bool visitReturnStmt(const ReturnStmt *RS);
H A DByteCodeStmtGen.cpp172 return visitReturnStmt(cast<ReturnStmt>(S)); in visitStmt()
225 bool ByteCodeStmtGen<Emitter>::visitReturnStmt(const ReturnStmt *RS) { in visitReturnStmt()

1234