Searched refs:RetExpr (Results 1 – 10 of 10) sorted by relevance
| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | NullabilityChecker.cpp | 571 auto RetExpr = S->getRetValue(); in checkPreStmt() local 572 if (!RetExpr) in checkPreStmt() 575 if (!RetExpr->getType()->isAnyPointerType()) in checkPreStmt() 618 getNullabilityAnnotation(lookThroughImplicitCasts(RetExpr)->getType()); in checkPreStmt() 632 OS << (RetExpr->getType()->isObjCObjectPointerType() ? "nil" : "Null"); in checkPreStmt() 637 RetExpr); in checkPreStmt()
|
| /llvm-project-15.0.7/clang/include/clang/AST/ |
| H A D | Stmt.h | 2798 Stmt *RetExpr; variable 2825 Expr *getRetValue() { return reinterpret_cast<Expr *>(RetExpr); } in getRetValue() 2826 const Expr *getRetValue() const { return reinterpret_cast<Expr *>(RetExpr); } in getRetValue() 2827 void setRetValue(Expr *E) { RetExpr = reinterpret_cast<Stmt *>(E); } in setRetValue() 2853 return RetExpr ? RetExpr->getEndLoc() : getReturnLoc(); in getEndLoc() 2862 if (RetExpr) in children() 2863 return child_range(&RetExpr, &RetExpr + 1); in children() 2868 if (RetExpr) in children() 2869 return const_child_range(&RetExpr, &RetExpr + 1); in children()
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | SemaStmt.cpp | 3772 Expr *&RetExpr, in DeduceFunctionTypeFromReturnExpr() argument 3783 if (RetExpr && isa<InitListExpr>(RetExpr)) { in DeduceFunctionTypeFromReturnExpr() 3786 Diag(RetExpr->getExprLoc(), in DeduceFunctionTypeFromReturnExpr() 3789 << RetExpr->getSourceRange(); in DeduceFunctionTypeFromReturnExpr() 3802 if (RetExpr) { in DeduceFunctionTypeFromReturnExpr() 3805 DeduceAutoResult DAR = DeduceAutoType(OrigResultType, RetExpr, Deduced); in DeduceFunctionTypeFromReturnExpr() 3808 Diag(RetExpr->getExprLoc(), diag::err_auto_fn_deduction_failure) in DeduceFunctionTypeFromReturnExpr() 3809 << OrigResultType.getType() << RetExpr->getType(); in DeduceFunctionTypeFromReturnExpr() 3817 Referencer.TraverseType(RetExpr->getType()); in DeduceFunctionTypeFromReturnExpr()
|
| /llvm-project-15.0.7/clang/lib/CodeGen/ |
| H A D | CGStmt.cpp | 1230 SaveRetExprRAII(const Expr *RetExpr, CodeGenFunction &CGF) in SaveRetExprRAII() 1231 : OldRetExpr(CGF.RetExpr), CGF(CGF) { in SaveRetExprRAII() 1232 CGF.RetExpr = RetExpr; in SaveRetExprRAII() 1234 ~SaveRetExprRAII() { CGF.RetExpr = OldRetExpr; } in ~SaveRetExprRAII()
|
| H A D | CGBlocks.cpp | 1086 auto *EWC = llvm::dyn_cast_or_null<ExprWithCleanups>(RetExpr); in EmitBlockLiteral()
|
| H A D | CodeGenFunction.h | 364 const Expr *RetExpr = nullptr;
|
| /llvm-project-15.0.7/clang/utils/TableGen/ |
| H A D | NeonEmitter.cpp | 1355 std::string RetExpr; in emitBodyAsBuiltinCall() local 1357 RetExpr = RetVar.getName() + " = "; in emitBodyAsBuiltinCall() 1359 OS << " " << RetExpr << S; in emitBodyAsBuiltinCall()
|
| /llvm-project-15.0.7/clang/lib/AST/ |
| H A D | Stmt.cpp | 1188 : Stmt(ReturnStmtClass), RetExpr(E) { in ReturnStmt()
|
| H A D | ExprConstant.cpp | 5221 const Expr *RetExpr = cast<ReturnStmt>(S)->getRetValue(); in EvaluateStmt() local 5223 if (RetExpr && RetExpr->isValueDependent()) { in EvaluateStmt() 5224 EvaluateDependentExpr(RetExpr, Info); in EvaluateStmt() 5228 if (RetExpr && in EvaluateStmt() 5230 ? EvaluateInPlace(Result.Value, Info, *Result.Slot, RetExpr) in EvaluateStmt() 5231 : Evaluate(Result.Value, Info, RetExpr))) in EvaluateStmt()
|
| /llvm-project-15.0.7/clang/include/clang/Sema/ |
| H A D | Sema.h | 8874 Expr *&RetExpr, const AutoType *AT);
|