Home
last modified time | relevance | path

Searched refs:RetExpr (Results 1 – 10 of 10) sorted by relevance

/freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DNullabilityChecker.cpp655 auto RetExpr = S->getRetValue(); in checkPreStmt() local
656 if (!RetExpr) in checkPreStmt()
659 if (!isValidPointerType(RetExpr->getType())) in checkPreStmt()
702 getNullabilityAnnotation(lookThroughImplicitCasts(RetExpr)->getType()); in checkPreStmt()
716 OS << (RetExpr->getType()->isObjCObjectPointerType() ? "nil" : "Null"); in checkPreStmt()
721 RetExpr); in checkPreStmt()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/AST/
H A DStmt.h3021 Stmt *RetExpr; variable
3048 Expr *getRetValue() { return reinterpret_cast<Expr *>(RetExpr); } in getRetValue()
3049 const Expr *getRetValue() const { return reinterpret_cast<Expr *>(RetExpr); } in getRetValue()
3050 void setRetValue(Expr *E) { RetExpr = reinterpret_cast<Stmt *>(E); } in setRetValue()
3076 return RetExpr ? RetExpr->getEndLoc() : getReturnLoc(); in getEndLoc()
3085 if (RetExpr) in children()
3086 return child_range(&RetExpr, &RetExpr + 1); in children()
3091 if (RetExpr) in children()
3092 return const_child_range(&RetExpr, &RetExpr + 1); in children()
/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DSemaStmt.cpp3805 if (RetExpr && isa<InitListExpr>(RetExpr)) { in DeduceFunctionTypeFromReturnExpr()
3808 Diag(RetExpr->getExprLoc(), in DeduceFunctionTypeFromReturnExpr()
3811 << RetExpr->getSourceRange(); in DeduceFunctionTypeFromReturnExpr()
3828 if (!RetExpr) { in DeduceFunctionTypeFromReturnExpr()
3838 RetExpr = &VoidVal; in DeduceFunctionTypeFromReturnExpr()
3845 auto RetExprLoc = RetExpr->getExprLoc(); in DeduceFunctionTypeFromReturnExpr()
3848 if (RetExpr->getType() == Context.OverloadTy) { in DeduceFunctionTypeFromReturnExpr()
3849 auto FindResult = OverloadExpr::find(RetExpr); in DeduceFunctionTypeFromReturnExpr()
3880 Diag(RetExpr->getExprLoc(), diag::err_auto_fn_deduction_failure) in DeduceFunctionTypeFromReturnExpr()
3881 << OrigResultType.getType() << RetExpr->getType(); in DeduceFunctionTypeFromReturnExpr()
[all …]
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DCGStmt.cpp1260 SaveRetExprRAII(const Expr *RetExpr, CodeGenFunction &CGF) in SaveRetExprRAII()
1261 : OldRetExpr(CGF.RetExpr), CGF(CGF) { in SaveRetExprRAII()
1262 CGF.RetExpr = RetExpr; in SaveRetExprRAII()
1264 ~SaveRetExprRAII() { CGF.RetExpr = OldRetExpr; } in ~SaveRetExprRAII()
H A DCGBlocks.cpp1057 auto *EWC = llvm::dyn_cast_or_null<ExprWithCleanups>(RetExpr); in EmitBlockLiteral()
H A DCodeGenFunction.h373 const Expr *RetExpr = nullptr;
/freebsd-14.2/contrib/llvm-project/clang/utils/TableGen/
H A DNeonEmitter.cpp1367 std::string RetExpr; in emitBodyAsBuiltinCall() local
1369 RetExpr = RetVar.getName() + " = "; in emitBodyAsBuiltinCall()
1371 OS << " " << RetExpr << S; in emitBodyAsBuiltinCall()
/freebsd-14.2/contrib/llvm-project/clang/lib/AST/
H A DStmt.cpp1190 : Stmt(ReturnStmtClass), RetExpr(E) { in ReturnStmt()
H A DExprConstant.cpp5307 const Expr *RetExpr = cast<ReturnStmt>(S)->getRetValue(); in EvaluateStmt() local
5309 if (RetExpr && RetExpr->isValueDependent()) { in EvaluateStmt()
5310 EvaluateDependentExpr(RetExpr, Info); in EvaluateStmt()
5314 if (RetExpr && in EvaluateStmt()
5316 ? EvaluateInPlace(Result.Value, Info, *Result.Slot, RetExpr) in EvaluateStmt()
5317 : Evaluate(Result.Value, Info, RetExpr))) in EvaluateStmt()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Sema/
H A DSema.h9398 SourceLocation ReturnLoc, Expr *RetExpr,