Searched refs:ExpectedTy (Results 1 – 5 of 5) sorted by relevance
126 static SVal adjustReturnValue(SVal V, QualType ExpectedTy, QualType ActualTy, in adjustReturnValue() argument133 ExpectedTy = ExpectedTy.getCanonicalType(); in adjustReturnValue()135 if (ExpectedTy == ActualTy) in adjustReturnValue()139 if (ExpectedTy->isObjCObjectPointerType() && in adjustReturnValue()144 const CXXRecordDecl *ExpectedClass = ExpectedTy->getPointeeCXXRecordDecl(); in adjustReturnValue()
3898 bool LLParser::parseValID(ValID &ID, PerFunctionState *PFS, Type *ExpectedTy) { in parseValID() argument4105 if (ExpectedTy) { in parseValID()4108 if (!ExpectedTy->isPointerTy()) in parseValID()4111 getTypeString(ExpectedTy) + "'"); in parseValID()4112 FwdDeclAS = ExpectedTy->getPointerAddressSpace(); in parseValID()7649 Type *ExpectedTy = nullptr; in parseInvoke() local7651 ExpectedTy = *I++; in parseInvoke()7656 if (ExpectedTy && ExpectedTy != Arg.V->getType()) in parseInvoke()7658 getTypeString(ExpectedTy) + "'"); in parseInvoke()7963 Type *ExpectedTy = nullptr; in parseCallBr() local[all …]
572 Type *ExpectedTy = nullptr);
1636 QualType ExpectedTy; in checkPointerAuthValue() local1638 ExpectedTy = Arg->getType().getUnqualifiedType(); in checkPointerAuthValue()1640 ExpectedTy = S.Context.VoidPtrTy; in checkPointerAuthValue()1643 ExpectedTy = S.Context.getUIntPtrType(); in checkPointerAuthValue()1659 if (convertArgumentToType(S, Arg, ExpectedTy)) in checkPointerAuthValue()
8980 QualType ExpectedTy; in CheckExplicitlyDefaultedComparison() local8982 ExpectedTy = Context.getRecordType(RD); in CheckExplicitlyDefaultedComparison()8986 ExpectedTy.addConst(); in CheckExplicitlyDefaultedComparison()8992 Ok &= RD->isDependentType() || Context.hasSameType(CTy, ExpectedTy); in CheckExplicitlyDefaultedComparison()