Searched refs:ExpectedTy (Results 1 – 5 of 5) sorted by relevance
130 static SVal adjustReturnValue(SVal V, QualType ExpectedTy, QualType ActualTy, in adjustReturnValue() argument137 ExpectedTy = ExpectedTy.getCanonicalType(); in adjustReturnValue()139 if (ExpectedTy == ActualTy) in adjustReturnValue()143 if (ExpectedTy->isObjCObjectPointerType() && in adjustReturnValue()148 const CXXRecordDecl *ExpectedClass = ExpectedTy->getPointeeCXXRecordDecl(); in adjustReturnValue()
3794 bool LLParser::parseValID(ValID &ID, PerFunctionState *PFS, Type *ExpectedTy) { in parseValID() argument4005 if (ExpectedTy) { in parseValID()4008 if (!ExpectedTy->isPointerTy()) in parseValID()4011 getTypeString(ExpectedTy) + "'"); in parseValID()4012 FwdDeclAS = ExpectedTy->getPointerAddressSpace(); in parseValID()7335 Type *ExpectedTy = nullptr; in parseInvoke() local7337 ExpectedTy = *I++; in parseInvoke()7342 if (ExpectedTy && ExpectedTy != Arg.V->getType()) in parseInvoke()7344 getTypeString(ExpectedTy) + "'"); in parseInvoke()7648 Type *ExpectedTy = nullptr; in parseCallBr() local[all …]
569 Type *ExpectedTy = nullptr);
1576 QualType ExpectedTy; in checkPointerAuthValue() local1578 ExpectedTy = Arg->getType().getUnqualifiedType(); in checkPointerAuthValue()1580 ExpectedTy = S.Context.VoidPtrTy; in checkPointerAuthValue()1583 ExpectedTy = S.Context.getUIntPtrType(); in checkPointerAuthValue()1599 if (convertArgumentToType(S, Arg, ExpectedTy)) in checkPointerAuthValue()
8797 QualType ExpectedTy; in CheckExplicitlyDefaultedComparison() local 8799 ExpectedTy = Context.getRecordType(RD); in CheckExplicitlyDefaultedComparison() 8803 ExpectedTy.addConst(); in CheckExplicitlyDefaultedComparison() 8810 if (!RD->isDependentType() && !Context.hasSameType(CTy, ExpectedTy)) in CheckExplicitlyDefaultedComparison()