Searched refs:FnRetType (Results 1 – 1 of 1) sorted by relevance
2864 QualType FnRetType = CurCap->ReturnType; in ActOnCapScopeReturnStmt() local2893 CurCap->ReturnType = FnRetType = FD->getReturnType(); in ActOnCapScopeReturnStmt()2910 FnRetType = RetValExp->getType().getUnqualifiedType(); in ActOnCapScopeReturnStmt()2912 FnRetType = CurCap->ReturnType = Context.DependentTy; in ActOnCapScopeReturnStmt()2922 FnRetType = Context.VoidTy; in ActOnCapScopeReturnStmt()2928 CurCap->ReturnType = FnRetType; in ActOnCapScopeReturnStmt()2930 assert(!FnRetType.isNull()); in ActOnCapScopeReturnStmt()2954 if (FnRetType->isDependentType()) { in ActOnCapScopeReturnStmt()2957 } else if (FnRetType->isVoidType()) { in ActOnCapScopeReturnStmt()2981 NRVOCandidate = getCopyElisionCandidate(FnRetType, RetValExp, false); in ActOnCapScopeReturnStmt()[all …]