Searched refs:FnRetType (Results 1 – 2 of 2) sorted by relevance
3598 QualType FnRetType = CurCap->ReturnType; in ActOnCapScopeReturnStmt() local3636 CurCap->ReturnType = FnRetType = FD->getReturnType(); in ActOnCapScopeReturnStmt()3653 FnRetType = RetValExp->getType().getUnqualifiedType(); in ActOnCapScopeReturnStmt()3655 FnRetType = CurCap->ReturnType = Context.DependentTy; in ActOnCapScopeReturnStmt()3665 FnRetType = Context.VoidTy; in ActOnCapScopeReturnStmt()3671 CurCap->ReturnType = FnRetType; in ActOnCapScopeReturnStmt()3673 assert(!FnRetType.isNull()); in ActOnCapScopeReturnStmt()3697 if (FnRetType->isDependentType()) { in ActOnCapScopeReturnStmt()3700 } else if (FnRetType->isVoidType()) { in ActOnCapScopeReturnStmt()3724 NRVOCandidate = getCopyElisionCandidate(FnRetType, RetValExp, CES_Strict); in ActOnCapScopeReturnStmt()[all …]
1555 QualType const FnRetType = FD.getReturnType(); in makeGroDeclAndReturnStmt() local1556 assert(!FnRetType->isDependentType() && in makeGroDeclAndReturnStmt()1559 if (FnRetType->isVoidType()) { in makeGroDeclAndReturnStmt()1572 InitializedEntity::InitializeResult(Loc, FnRetType, false); in makeGroDeclAndReturnStmt()1573 S.PerformMoveOrCopyInitialization(Entity, nullptr, FnRetType, ReturnValue); in makeGroDeclAndReturnStmt()