Home
last modified time | relevance | path

Searched refs:ExpectedTy (Results 1 – 5 of 5) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DExprEngineCallAndReturn.cpp130 static SVal adjustReturnValue(SVal V, QualType ExpectedTy, QualType ActualTy, in adjustReturnValue() argument
137 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()
/freebsd/contrib/llvm-project/llvm/lib/AsmParser/
H A DLLParser.cpp3794 bool LLParser::parseValID(ValID &ID, PerFunctionState *PFS, Type *ExpectedTy) { in parseValID() argument
4005 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() local
7337 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 …]
/freebsd/contrib/llvm-project/llvm/include/llvm/AsmParser/
H A DLLParser.h569 Type *ExpectedTy = nullptr);
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaChecking.cpp1576 QualType ExpectedTy; in checkPointerAuthValue() local
1578 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()
H A DSemaDeclCXX.cpp8797 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()