Searched refs:ReturnStmt (Results 1 - 25 of 77) sorted by relevance

1234

/freebsd-13-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
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,
H A DCheckerDocumentation.cpp36 class CheckerDocumentation : public Checker< check::PreStmt<ReturnStmt>,
71 /// check::PreStmt<ReturnStmt>
72 void checkPreStmt(const ReturnStmt *DS, CheckerContext &C) const {}
194 void checkEndFunction(const ReturnStmt *RS, CheckerContext &Ctx) const {}
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,
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,
294 void StackAddrEscapeChecker::checkEndFunction(const ReturnStmt *RS,
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 {
104 void checkEndFunction(const ReturnStmt *RS, CheckerContext &C) const {
247 void MIGChecker::checkReturnAux(const ReturnStmt *RS, CheckerContext &C) const {
H A DTraversalChecker.cpp32 void checkEndFunction(const ReturnStmt *RS, CheckerContext &C) const;
58 void TraversalDumper::checkEndFunction(const ReturnStmt *RS,
H A DReturnValueChecker.cpp32 void checkEndFunction(const ReturnStmt *RS, CheckerContext &C) const;
117 void ReturnValueChecker::checkEndFunction(const ReturnStmt *RS,
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 {
H A DObjCSelfInitChecker.cpp59 check::PreStmt<ReturnStmt>,
73 void checkPreStmt(const ReturnStmt *S, CheckerContext &C) const;
209 void ObjCSelfInitChecker::checkPreStmt(const ReturnStmt *S,
H A DVirtualCallChecker.cpp50 void checkEndFunction(const ReturnStmt *RS, CheckerContext &C) const;
93 void VirtualCallChecker::checkEndFunction(const ReturnStmt *RS,
H A DIdenticalExprChecker.cpp369 const ReturnStmt *ReturnStmt1 = cast<ReturnStmt>(Stmt1);
370 const ReturnStmt *ReturnStmt2 = cast<ReturnStmt>(Stmt2);
H A DTestAfterDivZeroChecker.cpp86 void checkEndFunction(const ReturnStmt *RS, CheckerContext &C) const;
181 void TestAfterDivZeroChecker::checkEndFunction(const ReturnStmt *,
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 {
398 const ReturnStmt *RS, CheckerContext &C) const {
/freebsd-13-stable/contrib/llvm-project/clang/lib/AST/Interp/
H A DByteCodeStmtGen.h63 bool visitReturnStmt(const ReturnStmt *RS);
H A DByteCodeStmtGen.cpp120 return visitReturnStmt(cast<ReturnStmt>(S));
163 bool ByteCodeStmtGen<Emitter>::visitReturnStmt(const ReturnStmt *RS) {
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Analysis/
H A DConstructionContext.h93 ConstructionContextItem(const ReturnStmt *RS)
560 const ReturnStmt *RS;
564 const ReturnStmt *RS)
571 const ReturnStmt *getReturnStmt() const { return RS; }
588 explicit SimpleReturnedValueConstructionContext(const ReturnStmt *RS)
613 const ReturnStmt *RS, const CXXBindTemporaryExpr *BTE)
H A DProgramPoint.h337 explicit FunctionExitPoint(const ReturnStmt *S,
346 const ReturnStmt *getStmt() const {
347 return reinterpret_cast<const ReturnStmt *>(getData1());
671 CallExitBegin(const StackFrameContext *L, const ReturnStmt *RS)
674 const ReturnStmt *getReturnStmt() const {
675 return static_cast<const ReturnStmt *>(getData1());
/freebsd-13-stable/contrib/llvm-project/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;
/freebsd-13-stable/contrib/llvm-project/clang/lib/AST/
H A DStmt.cpp1082 // ReturnStmt
1083 ReturnStmt::ReturnStmt(SourceLocation RL, Expr *E, const VarDecl *NRVOCandidate) function in class:ReturnStmt
1092 ReturnStmt::ReturnStmt(EmptyShell Empty, bool HasNRVOCandidate) function in class:ReturnStmt
1097 ReturnStmt *ReturnStmt::Create(const ASTContext &Ctx, SourceLocation RL,
1101 alignof(ReturnStmt));
1102 return new (Mem) ReturnStmt(RL, E, NRVOCandidate);
1105 ReturnStmt *ReturnStm
[all...]
H A DStmtCXX.cpp122 SubStmts[CoroutineBodyStmt::ReturnStmt] = Args.ReturnStmt;
/freebsd-13-stable/contrib/llvm-project/clang/lib/Analysis/
H A DConstructionContext.cpp120 const auto *RS = cast<ReturnStmt>(ParentItem.getStmt());
183 const auto *RS = cast<ReturnStmt>(TopItem.getStmt());
/freebsd-13-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DCoreEngine.cpp243 const ReturnStmt *RS = nullptr;
247 RS = dyn_cast<ReturnStmt>(LastStmt->getStmt());
250 RS = dyn_cast<ReturnStmt>(AutoDtor->getTriggerStmt());
563 const ReturnStmt *RS) {
587 void CoreEngine::enqueueEndOfFunction(ExplodedNodeSet &Set, const ReturnStmt *RS) {
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/AST/
H A DStmtCXX.h331 ReturnStmt, ///< Return statement for the thunk function. enumerator in enum:clang::final::SubStmt
358 Stmt *ReturnStmt = nullptr; member in struct:clang::final::CtorArgs
413 Stmt *getReturnStmt() const { return getStoredStmts()[SubStmt::ReturnStmt]; }
/freebsd-13-stable/contrib/llvm-project/clang/lib/ARCMigrate/
H A DTransUnbridgedCasts.cpp185 isa<ReturnStmt>(StmtMap->getParentIgnoreParenCasts(E))) {
376 if (ReturnStmt *retS = dyn_cast_or_null<ReturnStmt>(parent)) {
/freebsd-13-stable/contrib/llvm-project/clang/lib/Sema/
H A DSemaCoroutine.cpp1192 StmtResult ReturnStmt =
1194 if (ReturnStmt.isInvalid()) {
1202 this->ReturnStmtOnAllocFailure = ReturnStmt.get();
1573 StmtResult ReturnStmt = S.BuildReturnStmt(Loc, declRef.get());
1574 if (ReturnStmt.isInvalid()) {
1578 if (cast<clang::ReturnStmt>(ReturnStmt.get())->getNRVOCandidate() == GroDecl)
1581 this->ReturnStmt = ReturnStmt.get();

Completed in 187 milliseconds

1234