Home | History | Annotate | Download | only in Sema

Lines Matching refs:CSI

358 void Sema::deduceClosureReturnType(CapturingScopeInfo &CSI) {
359 assert(CSI.HasImplicitReturnType);
382 if (CSI.Returns.empty()) {
385 if (CSI.ReturnType.isNull())
386 CSI.ReturnType = Ctx.VoidTy;
392 assert(!CSI.ReturnType.isNull() && "We should have a tentative return type.");
393 if (CSI.ReturnType->isDependentType())
398 assert(isa<BlockScopeInfo>(CSI));
399 const EnumDecl *ED = findCommonEnumForBlockReturns(CSI.Returns);
401 CSI.ReturnType = Context.getTypeDeclType(ED);
402 adjustBlockReturnsToEnum(*this, CSI.Returns, CSI.ReturnType);
408 SmallVectorImpl<ReturnStmt*>::iterator I = CSI.Returns.begin(),
409 E = CSI.Returns.end();
424 if (Context.hasSameType(ReturnType, CSI.ReturnType))
431 << ReturnType << CSI.ReturnType
432 << isa<LambdaScopeInfo>(CSI);