Lines Matching defs:Result
170 // Okay, we have an unused result. Depending on what the base expression is,
1429 ExprResult result = CheckPlaceholderExpr(E);
1430 if (result.isInvalid()) return StmtError();
1431 E = result.take();
1435 result = MaybeCreateExprWithCleanups(E);
1436 if (result.isInvalid()) return StmtError();
1438 return Owned(static_cast<Stmt*>(result.take()));
1450 ExprResult result = DefaultFunctionArrayLvalueConversion(collection);
1451 if (result.isInvalid())
1453 collection = result.take();
1912 // The attempt to dereference would succeed; return the result of
2176 /// is the result of return value.
2266 ExprResult Result = DefaultFunctionArrayLvalueConversion(RetValExp);
2267 if (Result.isInvalid())
2269 RetValExp = Result.take();
2277 // C++11 [expr.lambda.prim]p4 bans inferring the result from an
2307 // Otherwise, verify that this result type matches the previous one. We are
2356 ReturnStmt *Result = new (Context) ReturnStmt(ReturnLoc, RetValExp,
2365 FunctionScopes.back()->Returns.push_back(Result);
2367 return Owned(Result);
2399 ReturnStmt *Result = 0;
2427 ExprResult Result = Owned(RetValExp);
2428 Result = IgnoredValueConversions(Result.take());
2429 if (Result.isInvalid())
2431 RetValExp = Result.take();
2461 Result = new (Context) ReturnStmt(ReturnLoc, RetValExp, 0);
2471 Result = new (Context) ReturnStmt(ReturnLoc);
2478 // If we have a related result type, perform an extra conversion here.
2518 Result = new (Context) ReturnStmt(ReturnLoc, RetValExp, NRVOCandidate);
2525 FunctionScopes.back()->Returns.push_back(Result);
2527 return Owned(Result);
2562 ExprResult Result = DefaultLvalueConversion(Throw);
2563 if (Result.isInvalid())
2566 Throw = MaybeCreateExprWithCleanups(Result.take());
2601 ExprResult result = DefaultLvalueConversion(operand);
2602 if (result.isInvalid())
2604 operand = result.take();