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.cpp126 static SVal adjustReturnValue(SVal V, QualType ExpectedTy, QualType ActualTy, in adjustReturnValue() argument
133 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()
/freebsd/contrib/llvm-project/llvm/lib/AsmParser/
H A DLLParser.cpp3898 bool LLParser::parseValID(ValID &ID, PerFunctionState *PFS, Type *ExpectedTy) { in parseValID() argument
4105 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() local
7651 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 …]
/freebsd/contrib/llvm-project/llvm/include/llvm/AsmParser/
H A DLLParser.h572 Type *ExpectedTy = nullptr);
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaChecking.cpp1636 QualType ExpectedTy; in checkPointerAuthValue() local
1638 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()
H A DSemaDeclCXX.cpp8980 QualType ExpectedTy; in CheckExplicitlyDefaultedComparison() local
8982 ExpectedTy = Context.getRecordType(RD); in CheckExplicitlyDefaultedComparison()
8986 ExpectedTy.addConst(); in CheckExplicitlyDefaultedComparison()
8992 Ok &= RD->isDependentType() || Context.hasSameType(CTy, ExpectedTy); in CheckExplicitlyDefaultedComparison()