Home | History | Annotate | Download | only in Sema

Lines Matching refs:ReturnType

190     LSI->ReturnType = CallOperator->getResultType();
192 if (!LSI->ReturnType->isDependentType() &&
193 !LSI->ReturnType->isVoidType()) {
194 if (RequireCompleteType(CallOperator->getLocStart(), LSI->ReturnType,
197 } else if (LSI->ReturnType->isObjCObjectOrInterfaceType()) {
199 << LSI->ReturnType;
328 QualType returnType) {
333 if (S.Context.hasSameType(retValue->getType(), returnType))
337 assert(returnType->isIntegralOrUnscopedEnumerationType());
343 E = ImplicitCastExpr::Create(S.Context, returnType, CK_IntegralCast,
380 if (CSI.ReturnType.isNull())
381 CSI.ReturnType = Ctx.VoidTy;
387 assert(!CSI.ReturnType.isNull() && "We should have a tentative return type.");
388 if (CSI.ReturnType->isDependentType())
396 CSI.ReturnType = Context.getTypeDeclType(ED);
397 adjustBlockReturnsToEnum(*this, CSI.Returns, CSI.ReturnType);
418 QualType ReturnType = (RetE ? RetE->getType() : Context.VoidTy);
419 if (Context.hasSameType(ReturnType, CSI.ReturnType))
426 << ReturnType << CSI.ReturnType
888 if (LSI->ReturnType.isNull()) {
889 LSI->ReturnType = Context.VoidTy;
896 = Context.getFunctionType(LSI->ReturnType,