Searched refs:FnRetType (Results 1 – 1 of 1) sorted by relevance
2776 QualType FnRetType = CurCap->ReturnType; in ActOnCapScopeReturnStmt() local2792 CurCap->ReturnType = FnRetType = FD->getReturnType(); in ActOnCapScopeReturnStmt()2809 FnRetType = RetValExp->getType().getUnqualifiedType(); in ActOnCapScopeReturnStmt()2811 FnRetType = CurCap->ReturnType = Context.DependentTy; in ActOnCapScopeReturnStmt()2821 FnRetType = Context.VoidTy; in ActOnCapScopeReturnStmt()2827 CurCap->ReturnType = FnRetType; in ActOnCapScopeReturnStmt()2829 assert(!FnRetType.isNull()); in ActOnCapScopeReturnStmt()2853 if (FnRetType->isDependentType()) { in ActOnCapScopeReturnStmt()2856 } else if (FnRetType->isVoidType()) { in ActOnCapScopeReturnStmt()2880 NRVOCandidate = getCopyElisionCandidate(FnRetType, RetValExp, false); in ActOnCapScopeReturnStmt()[all …]