Searched refs:RetExpr (Results 1 – 10 of 10) sorted by relevance
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
H A D | NullabilityChecker.cpp | 655 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/contrib/llvm-project/clang/include/clang/AST/ |
H A D | Stmt.h | 3028 Stmt *RetExpr; 3055 Expr *getRetValue() { return reinterpret_cast<Expr *>(RetExpr); } 3056 const Expr *getRetValue() const { return reinterpret_cast<Expr *>(RetExpr); } 3057 void setRetValue(Expr *E) { RetExpr = reinterpret_cast<Stmt *>(E); } 3083 return RetExpr ? RetExpr->getEndLoc() : getReturnLoc(); 3092 if (RetExpr) 3093 return child_range(&RetExpr, &RetExpr + 1); 3098 if (RetExpr) 3099 return const_child_range(&RetExpr, &RetExpr + 1);
|
/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaStmt.cpp | 3627 Expr *RetExpr, const AutoType *AT) { in DeduceFunctionTypeFromReturnExpr() argument 3634 if (isa_and_nonnull<InitListExpr>(RetExpr)) { in DeduceFunctionTypeFromReturnExpr() 3637 Diag(RetExpr->getExprLoc(), in DeduceFunctionTypeFromReturnExpr() 3640 << RetExpr->getSourceRange(); in DeduceFunctionTypeFromReturnExpr() 3657 if (!RetExpr) { in DeduceFunctionTypeFromReturnExpr() 3667 RetExpr = &VoidVal; in DeduceFunctionTypeFromReturnExpr() 3674 auto RetExprLoc = RetExpr->getExprLoc(); in DeduceFunctionTypeFromReturnExpr() 3677 if (RetExpr->getType() == Context.OverloadTy) { in DeduceFunctionTypeFromReturnExpr() 3678 auto FindResult = OverloadExpr::find(RetExpr); in DeduceFunctionTypeFromReturnExpr() 3684 OrigResultType, RetExpr, Deduced, Info, /*DependentDeduction=*/false, in DeduceFunctionTypeFromReturnExpr() [all …]
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CGStmt.cpp | 1430 SaveRetExprRAII(const Expr *RetExpr, CodeGenFunction &CGF) in SaveRetExprRAII() 1431 : OldRetExpr(CGF.RetExpr), CGF(CGF) { in SaveRetExprRAII() 1432 CGF.RetExpr = RetExpr; in SaveRetExprRAII() 1434 ~SaveRetExprRAII() { CGF.RetExpr = OldRetExpr; } in ~SaveRetExprRAII()
|
H A D | CGBlocks.cpp | 1067 auto *EWC = llvm::dyn_cast_or_null<ExprWithCleanups>(RetExpr); in EmitBlockLiteral()
|
H A D | CodeGenFunction.h | 418 const Expr *RetExpr = nullptr;
|
/freebsd/contrib/llvm-project/clang/utils/TableGen/ |
H A D | NeonEmitter.cpp | 1360 std::string RetExpr; in emitBodyAsBuiltinCall() local 1362 RetExpr = RetVar.getName() + " = "; in emitBodyAsBuiltinCall() 1364 OS << " " << RetExpr << S; in emitBodyAsBuiltinCall()
|
/freebsd/contrib/llvm-project/clang/lib/AST/ |
H A D | Stmt.cpp | 1191 : Stmt(ReturnStmtClass), RetExpr(E) { in ReturnStmt()
|
H A D | ExprConstant.cpp | 5342 const Expr *RetExpr = cast<ReturnStmt>(S)->getRetValue(); in EvaluateStmt() local 5344 if (RetExpr && RetExpr->isValueDependent()) { in EvaluateStmt() 5345 EvaluateDependentExpr(RetExpr, Info); in EvaluateStmt() 5349 if (RetExpr && in EvaluateStmt() 5351 ? EvaluateInPlace(Result.Value, Info, *Result.Slot, RetExpr) in EvaluateStmt() 5352 : Evaluate(Result.Value, Info, RetExpr))) in EvaluateStmt()
|
/freebsd/contrib/llvm-project/clang/include/clang/Sema/ |
H A D | Sema.h | 10878 SourceLocation ReturnLoc, Expr *RetExpr,
|