Searched refs:FnRetType (Results 1 – 2 of 2) sorted by relevance
3527 QualType FnRetType = CurCap->ReturnType; in ActOnCapScopeReturnStmt() local3566 CurCap->ReturnType = FnRetType = FD->getReturnType(); in ActOnCapScopeReturnStmt()3583 FnRetType = RetValExp->getType().getUnqualifiedType(); in ActOnCapScopeReturnStmt()3585 FnRetType = CurCap->ReturnType = Context.DependentTy; in ActOnCapScopeReturnStmt()3595 FnRetType = Context.VoidTy; in ActOnCapScopeReturnStmt()3601 CurCap->ReturnType = FnRetType; in ActOnCapScopeReturnStmt()3603 const VarDecl *NRVOCandidate = getCopyElisionCandidate(NRInfo, FnRetType); in ActOnCapScopeReturnStmt()3628 if (FnRetType->isDependentType()) { in ActOnCapScopeReturnStmt()3631 } else if (FnRetType->isVoidType()) { in ActOnCapScopeReturnStmt()3656 InitializedEntity::InitializeResult(ReturnLoc, FnRetType); in ActOnCapScopeReturnStmt()[all …]
1831 QualType const FnRetType = FD.getReturnType(); in makeGroDeclAndReturnStmt() local1832 assert(!FnRetType->isDependentType() && in makeGroDeclAndReturnStmt()1841 bool GroMatchesRetType = S.getASTContext().hasSameType(GroType, FnRetType); in makeGroDeclAndReturnStmt()1843 if (FnRetType->isVoidType()) { in makeGroDeclAndReturnStmt()1857 InitializedEntity::InitializeResult(Loc, FnRetType); in makeGroDeclAndReturnStmt()