Home
last modified time | relevance | path

Searched refs:FnRetType (Results 1 – 2 of 2) sorted by relevance

/openbsd-src/gnu/llvm/clang/lib/Sema/
H A DSemaStmt.cpp3578 QualType FnRetType = CurCap->ReturnType; in ActOnCapScopeReturnStmt() local
3615 CurCap->ReturnType = FnRetType = FD->getReturnType(); in ActOnCapScopeReturnStmt()
3632 FnRetType = RetValExp->getType().getUnqualifiedType(); in ActOnCapScopeReturnStmt()
3634 FnRetType = CurCap->ReturnType = Context.DependentTy; in ActOnCapScopeReturnStmt()
3644 FnRetType = Context.VoidTy; in ActOnCapScopeReturnStmt()
3650 CurCap->ReturnType = FnRetType; in ActOnCapScopeReturnStmt()
3652 const VarDecl *NRVOCandidate = getCopyElisionCandidate(NRInfo, FnRetType); in ActOnCapScopeReturnStmt()
3675 if (FnRetType->isDependentType()) { in ActOnCapScopeReturnStmt()
3678 } else if (FnRetType->isVoidType()) { in ActOnCapScopeReturnStmt()
3703 InitializedEntity::InitializeResult(ReturnLoc, FnRetType); in ActOnCapScopeReturnStmt()
[all …]
H A DSemaCoroutine.cpp1731 QualType const FnRetType = FD.getReturnType(); in makeGroDeclAndReturnStmt() local
1732 assert(!FnRetType->isDependentType() && in makeGroDeclAndReturnStmt()
1735 if (FnRetType->isVoidType()) { in makeGroDeclAndReturnStmt()
1747 InitializedEntity::InitializeResult(Loc, FnRetType); in makeGroDeclAndReturnStmt()