Home
last modified time | relevance | path

Searched refs:getResultType (Results 1 – 25 of 67) sorted by relevance

123

/external/clang/lib/StaticAnalyzer/Checkers/
DAdjustedReturnValueChecker.cpp61 actualResultTy = FD->getResultType(); in checkPostStmt()
67 actualResultTy = FT->getResultType(); in checkPostStmt()
DCheckObjCInstMethSignature.cpp46 QualType ResDerived = MethDerived->getResultType(); in CompareReturnTypes()
47 QualType ResAncestor = MethAncestor->getResultType(); in CompareReturnTypes()
DNSErrorChecker.cpp56 if (!D->getResultType()->isVoidType()) in checkASTDecl()
102 if (!D->getResultType()->isVoidType()) in checkASTDecl()
/external/clang/lib/StaticAnalyzer/Core/
DObjCMessage.cpp111 QualType CallOrObjCMessage::getResultType(ASTContext &ctx) const { in getResultType() function in CallOrObjCMessage
119 resultTy = FD->getResultType(); in getResultType()
126 resultTy = Msg.getResultType(ctx); in getResultType()
DCFRefCount.cpp864 QualType ResultTy = MD->getResultType(); in getMethodSummary()
972 QualType RetTy = FT->getResultType(); in getSummary()
1235 QualType RetTy = FD->getResultType(); in updateSummaryFromAnnotations()
1291 if (cocoa::isCocoaObjectRef(MD->getResultType())) { in updateSummaryFromAnnotations()
1305 isTrackedLoc = MD->getResultType()->getAs<PointerType>() != NULL; in updateSummaryFromAnnotations()
2744 QualType resultTy = callOrMsg.getResultType(Eng.getContext()); in evalSummary()
2779 QualType resultTy = callOrMsg.getResultType(Eng.getContext()); in evalSummary()
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
DObjCMessage.h67 QualType getResultType(ASTContext &ctx) const { in getResultType() function
71 return MD->getResultType(); in getResultType()
180 QualType getResultType(ASTContext &ctx) const;
/external/clang/lib/Sema/
DSemaExceptionSpec.cpp141 QualType NewType = Context.getFunctionType(NewProto->getResultType(), in CheckEquivalentExceptionSpec()
165 QualType NewType = Context.getFunctionType(NewProto->getResultType(), in CheckEquivalentExceptionSpec()
662 Target->getResultType(), TargetLoc, in CheckParamExceptionSpec()
663 Source->getResultType(), SourceLoc)) in CheckParamExceptionSpec()
DSemaDeclObjC.cpp49 const ObjCObjectType *result = method->getResultType() in checkInitMethod()
118 QualType ResultType = NewMethod->getResultType(); in CheckObjCMethodOverride()
1185 if (S.Context.hasSameUnqualifiedType(MethodImpl->getResultType(), in CheckMethodOverrideReturn()
1186 MethodDecl->getResultType())) in CheckMethodOverrideReturn()
1194 MethodImpl->getResultType()->getAs<ObjCObjectPointerType>()) { in CheckMethodOverrideReturn()
1196 MethodDecl->getResultType()->getAs<ObjCObjectPointerType>()) { in CheckMethodOverrideReturn()
1210 << MethodDecl->getResultType() in CheckMethodOverrideReturn()
1211 << MethodImpl->getResultType() in CheckMethodOverrideReturn()
1324 if (unmatched->getResultType()->isObjCObjectPointerType()) { in checkMethodFamilyMismatch()
1757 left->getResultType(), right->getResultType())) in MatchTwoMethodDeclarations()
[all …]
DAnalysisBasedWarnings.cpp324 ReturnsVoid = FD->getResultType()->isVoidType(); in CheckFallThroughForBody()
329 ReturnsVoid = MD->getResultType()->isVoidType(); in CheckFallThroughForBody()
336 if (FT->getResultType()->isVoidType()) in CheckFallThroughForBody()
DSema.cpp837 ZeroArgCallReturnTy = OverloadDecl->getResultType(); in isExprCallable()
846 ZeroArgCallReturnTy = Fun->getResultType(); in isExprCallable()
872 ZeroArgCallReturnTy = FunTy->getResultType(); in isExprCallable()
DSemaExprObjC.cpp325 if (Context.hasSameUnqualifiedType(Method->getResultType() in EmitRelatedResultTypeNote()
375 VK = Expr::getValueKindForType(Method->getResultType()); in CheckMessageArgumentTypes()
1100 if (Method && !Method->getResultType()->isVoidType() && in BuildClassMessage()
1101 RequireCompleteType(LBracLoc, Method->getResultType(), in BuildClassMessage()
1400 if (Method && !Method->getResultType()->isVoidType() && in BuildInstanceMessage()
1401 RequireCompleteType(LBracLoc, Method->getResultType(), in BuildInstanceMessage()
DSemaOverload.cpp702 OldType->getResultType() != NewType->getResultType())) in IsOverload()
1885 if (Context.getCanonicalType(FromFunctionType->getResultType()) in isObjCPointerConversion()
1886 == Context.getCanonicalType(ToFunctionType->getResultType())) { in isObjCPointerConversion()
1888 } else if (isObjCPointerConversion(FromFunctionType->getResultType(), in isObjCPointerConversion()
1889 ToFunctionType->getResultType(), in isObjCPointerConversion()
2037 if (Context.hasSameType(FromFunctionType->getResultType(), in IsBlockPointerConversion()
2038 ToFunctionType->getResultType())) { in IsBlockPointerConversion()
2041 QualType RHS = FromFunctionType->getResultType(); in IsBlockPointerConversion()
2042 QualType LHS = ToFunctionType->getResultType(); in IsBlockPointerConversion()
8540 QualType ResultTy = FnDecl->getResultType(); in CreateOverloadedUnaryOp()
[all …]
DSemaDeclAttr.cpp144 return cast<FunctionProtoType>(FnTy)->getResultType(); in getFunctionOrMethodResultType()
145 return cast<ObjCMethodDecl>(D)->getResultType(); in getFunctionOrMethodResultType()
796 QualType RetTy = FD->getResultType(); in handleMallocAttr()
1232 !method->getResultType()->isObjCObjectPointerType()) { in handleObjCMethodFamilyAttr()
1234 << method->getResultType(); in handleObjCMethodFamilyAttr()
1416 if (isFunction(D) && getFunctionType(D)->getResultType()->isVoidType()) { in handleWarnUnusedResult()
1422 if (MD->getResultType()->isVoidType()) { in handleWarnUnusedResult()
2355 if (!FD->getResultType()->isVoidType()) { in handleGlobalAttr()
2703 returnType = MD->getResultType(); in handleNSReturnsRetainedAttr()
2710 returnType = FD->getResultType(); in handleNSReturnsRetainedAttr()
DSemaObjCProperty.cpp757 getterMethod->getResultType(), in ActOnPropertyImplDecl()
930 GetterMethod->getResultType() != property->getType()) { in DiagnosePropertyAccessorMismatch()
933 result = CheckAssignmentConstraints(Loc, GetterMethod->getResultType(), in DiagnosePropertyAccessorMismatch()
1463 Context.getCanonicalType(SetterMethod->getResultType()) != in ProcessPropertyDecl()
DSemaCodeComplete.cpp695 T = Function->getResultType(); in getDeclUsageType()
1643 isVoid = Function->getResultType()->isVoidType(); in AddOrdinaryNameResults()
1646 isVoid = Method->getResultType()->isVoidType(); in AddOrdinaryNameResults()
1901 T = Function->getResultType(); in AddResultTypeChunk()
1903 T = Method->getResultType(); in AddResultTypeChunk()
1905 T = FunTmpl->getTemplatedDecl()->getResultType(); in AddResultTypeChunk()
2018 QualType ResultType = Block->getTypePtr()->getResultType(); in FormatFunctionParameter()
2573 Result.AddTextChunk(GetCompletionTypeString(FT->getResultType(), in CreateSignatureString()
2588 Proto->getResultType().getAsString(Policy))); in CreateSignatureString()
3655 ResultType = Function->getResultType(); in CodeCompleteReturn()
[all …]
DSemaTemplateDeduction.cpp1251 FunctionProtoParam->getResultType(), in DeduceTemplateArguments()
1252 FunctionProtoArg->getResultType(), in DeduceTemplateArguments()
2285 = SubstType(Proto->getResultType(), in SubstituteExplicitTemplateArguments()
3492 if (DeduceTemplateArguments(S, TemplateParams, Proto2->getResultType(), in isAtLeastAsSpecializedAs()
3493 Proto1->getResultType(), Info, Deduced, in isAtLeastAsSpecializedAs()
3545 ::MarkUsedTemplateParameters(S, Proto2->getResultType(), false, in isAtLeastAsSpecializedAs()
4059 MarkUsedTemplateParameters(SemaRef, Proto->getResultType(), OnlyDeduced, in MarkUsedTemplateParameters()
/external/clang/include/clang/AST/
DCanonicalType.h586 LLVM_CLANG_CANPROXY_TYPE_ACCESSOR(getResultType)
593 LLVM_CLANG_CANPROXY_TYPE_ACCESSOR(getResultType)
600 LLVM_CLANG_CANPROXY_TYPE_ACCESSOR(getResultType)
DExprObjC.h348 ResultType = Getter->getResultType(); in getGetterResultType()
353 ResultType = Getter->getResultType(); // with reference! in getGetterResultType()
/external/clang/tools/libclang/
DCXType.cpp348 return MakeCXType(FD->getResultType(), GetTU(X)); in clang_getResultType()
357 return MakeCXType(MD->getResultType(), cxcursor::getCursorTU(C)); in clang_getCursorResultType()
/external/clang/lib/AST/
DDeclPrinter.cpp104 BaseType = FTy->getResultType(); in GetBaseType()
517 AFT->getResultType().getAsStringInternal(Proto, Policy); in VisitFunctionDecl()
778 if (!OMD->getResultType().isNull()) in VisitObjCMethodDecl()
779 Out << '(' << OMD->getResultType().getAsString(Policy) << ")"; in VisitObjCMethodDecl()
DDeclObjC.cpp431 if (!isInstanceMethod() || !getResultType()->isObjCObjectPointerType()) in getMethodFamily()
441 if (!getResultType()->isObjCObjectPointerType()) in getMethodFamily()
458 !getResultType()->isObjCIdType()) in getMethodFamily()
DASTContext.cpp1344 Result = getFunctionNoProtoType(FNPT->getResultType(), Info); in adjustFunctionType()
1349 Result = getFunctionType(FPT->getResultType(), FPT->arg_type_begin(), in adjustFunctionType()
3947 getObjCEncodingForType(BlockTy->getAs<FunctionType>()->getResultType(), S); in getObjCEncodingForBlock()
3992 getObjCEncodingForType(Decl->getResultType(), S); in getObjCEncodingForFunctionDecl()
4038 getObjCEncodingForType(Decl->getResultType(), S); in getObjCEncodingForMethodDecl()
5508 QualType RHS = rbase->getResultType(); in mergeFunctionTypes()
5509 QualType LHS = lbase->getResultType(); in mergeFunctionTypes()
5516 retType = mergeTypes(lbase->getResultType(), rbase->getResultType(), false, in mergeFunctionTypes()
5523 CanQualType LRetType = getCanonicalType(lbase->getResultType()); in mergeFunctionTypes()
5524 CanQualType RRetType = getCanonicalType(rbase->getResultType()); in mergeFunctionTypes()
[all …]
DType.cpp523 return Visit(T->getResultType()); in VisitFunctionType()
1650 Profile(ID, getResultType(), arg_type_begin(), NumArgs, getExtProtoInfo(), in Profile()
2067 return Cache::get(cast<FunctionType>(T)->getResultType()); in computeCachedProperties()
2070 CachedProperties result = Cache::get(FPT->getResultType()); in computeCachedProperties()
/external/clang/lib/CodeGen/
DCodeGenTypes.h166 return getFunctionInfo(Ty->getResultType(), Args, in getFunctionInfo()
/external/clang/lib/Rewrite/
DRewriteObjC.cpp812 RewriteTypeIntoString(PD->getGetterMethodDecl()->getResultType(), Getr, in RewritePropertyImplDecl()
1039 ResultStr += FPRetType->getResultType().getAsString( in RewriteTypeIntoString()
1053 RewriteTypeIntoString(OMD->getResultType(), ResultStr, FPRetType); in RewriteObjCMethodDecl()
2260 Type = proto->getResultType(); in RewriteObjCQualifiedInterfaceTypes()
2432 QualType Type = proto->getResultType(); in RewriteBlockLiteralFunctionDecl()
2765 QualType resultType = mDecl->getResultType(); in SynthMessageExpr()
3048 returnType = OMD->getResultType()->isObjCQualifiedIdType() in SynthMessageExpr()
3049 ? Context->getObjCIdType() : OMD->getResultType(); in SynthMessageExpr()
3084 FT->getResultType(), VK_RValue, in SynthMessageExpr()
3113 FT->getResultType(), VK_RValue, in SynthMessageExpr()
[all …]

123