Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/
H A DNullabilityChecker.cpp527 auto RetExpr = S->getRetValue(); in checkPreStmt() local
528 if (!RetExpr) in checkPreStmt()
531 if (!RetExpr->getType()->isAnyPointerType()) in checkPreStmt()
574 getNullabilityAnnotation(lookThroughImplicitCasts(RetExpr)->getType()); in checkPreStmt()
590 OS << (RetExpr->getType()->isObjCObjectPointerType() ? "nil" : "Null"); in checkPreStmt()
595 RetExpr); in checkPreStmt()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/AST/
H A DStmt.h2449 Stmt *RetExpr; variable
2476 Expr *getRetValue() { return reinterpret_cast<Expr *>(RetExpr); } in getRetValue()
2477 const Expr *getRetValue() const { return reinterpret_cast<Expr *>(RetExpr); } in getRetValue()
2478 void setRetValue(Expr *E) { RetExpr = reinterpret_cast<Stmt *>(E); } in setRetValue()
2504 return RetExpr ? RetExpr->getEndLoc() : getReturnLoc(); in getEndLoc()
2513 if (RetExpr) in children()
2514 return child_range(&RetExpr, &RetExpr + 1); in children()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/
H A DSemaStmt.cpp3416 Expr *&RetExpr, in DeduceFunctionTypeFromReturnExpr() argument
3427 if (RetExpr && isa<InitListExpr>(RetExpr)) { in DeduceFunctionTypeFromReturnExpr()
3430 Diag(RetExpr->getExprLoc(), in DeduceFunctionTypeFromReturnExpr()
3433 << RetExpr->getSourceRange(); in DeduceFunctionTypeFromReturnExpr()
3446 if (RetExpr) { in DeduceFunctionTypeFromReturnExpr()
3449 DeduceAutoResult DAR = DeduceAutoType(OrigResultType, RetExpr, Deduced); in DeduceFunctionTypeFromReturnExpr()
3452 Diag(RetExpr->getExprLoc(), diag::err_auto_fn_deduction_failure) in DeduceFunctionTypeFromReturnExpr()
3453 << OrigResultType.getType() << RetExpr->getType(); in DeduceFunctionTypeFromReturnExpr()
3461 Referencer.TraverseType(RetExpr->getType()); in DeduceFunctionTypeFromReturnExpr()
/freebsd-12.1/contrib/llvm/tools/clang/utils/TableGen/
H A DNeonEmitter.cpp1458 std::string RetExpr; in emitBodyAsBuiltinCall() local
1460 RetExpr = RetVar.getName() + " = "; in emitBodyAsBuiltinCall()
1462 OS << " " << RetExpr << S; in emitBodyAsBuiltinCall()
/freebsd-12.1/contrib/llvm/tools/clang/lib/AST/
H A DStmt.cpp1051 : Stmt(ReturnStmtClass), RetExpr(E) { in ReturnStmt()
H A DExprConstant.cpp4124 const Expr *RetExpr = cast<ReturnStmt>(S)->getRetValue(); in EvaluateStmt() local
4126 if (RetExpr && in EvaluateStmt()
4128 ? EvaluateInPlace(Result.Value, Info, *Result.Slot, RetExpr) in EvaluateStmt()
4129 : Evaluate(Result.Value, Info, RetExpr))) in EvaluateStmt()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Sema/
H A DSema.h7107 Expr *&RetExpr, AutoType *AT);