Home
last modified time | relevance | path

Searched refs:DstType (Results 1 – 6 of 6) sorted by relevance

/external/clang/lib/CodeGen/
DCGExprScalar.cpp541 QualType DstType) { in EmitScalarConversion() argument
543 DstType = CGF.getContext().getCanonicalType(DstType); in EmitScalarConversion()
544 if (SrcType == DstType) return Src; in EmitScalarConversion()
546 if (DstType->isVoidType()) return 0; in EmitScalarConversion()
559 if (DstType->isBooleanType()) in EmitScalarConversion()
562 llvm::Type *DstTy = ConvertType(DstType); in EmitScalarConversion()
594 if (DstType->isExtVectorType() && !SrcType->isVectorType()) { in EmitScalarConversion()
596 QualType EltTy = DstType->getAs<ExtVectorType>()->getElementType(); in EmitScalarConversion()
622 if (DstType->isHalfType()) in EmitScalarConversion()
635 if (DstType->isSignedIntegerOrEnumerationType()) in EmitScalarConversion()
/external/clang/lib/Sema/
DSemaStmt.cpp1070 Sema::DiagnoseAssignmentEnum(QualType DstType, QualType SrcType, in DiagnoseAssignmentEnum() argument
1077 if (const EnumType *ET = DstType->getAs<EnumType>()) in DiagnoseAssignmentEnum()
1078 if (!Context.hasSameType(SrcType, DstType) && in DiagnoseAssignmentEnum()
1083 unsigned DstWith = Context.getIntWidth(DstType); in DiagnoseAssignmentEnum()
1084 bool DstIsSigned = DstType->isSignedIntegerOrEnumerationType(); in DiagnoseAssignmentEnum()
1112 << DstType; in DiagnoseAssignmentEnum()
DSemaExpr.cpp9616 static void MakeObjCStringLiteralFixItHint(Sema& SemaRef, QualType DstType, in MakeObjCStringLiteralFixItHint() argument
9621 const ObjCObjectPointerType *PT = DstType->getAs<ObjCObjectPointerType>(); in MakeObjCStringLiteralFixItHint()
9650 QualType DstType, QualType SrcType, in DiagnoseAssignmentResult() argument
9667 DiagnoseAssignmentEnum(DstType, SrcType, SrcExpr); in DiagnoseAssignmentResult()
9672 ConvHints.tryToFixConversion(SrcExpr, SrcType, DstType, *this); in DiagnoseAssignmentResult()
9677 ConvHints.tryToFixConversion(SrcExpr, SrcType, DstType, *this); in DiagnoseAssignmentResult()
9681 MakeObjCStringLiteralFixItHint(*this, DstType, SrcExpr, Hint); in DiagnoseAssignmentResult()
9683 CheckInferredResultType = DstType->isObjCObjectPointerType() && in DiagnoseAssignmentResult()
9686 ConvHints.tryToFixConversion(SrcExpr, SrcType, DstType, *this); in DiagnoseAssignmentResult()
9701 Qualifiers rhq = DstType->getPointeeType().getQualifiers(); in DiagnoseAssignmentResult()
[all …]
/external/clang/include/clang/AST/
DExpr.h4306 AsTypeExpr(Expr* SrcExpr, QualType DstType, in AsTypeExpr() argument
4309 : Expr(AsTypeExprClass, DstType, VK, OK, in AsTypeExpr()
4310 DstType->isDependentType(), in AsTypeExpr()
4311 DstType->isDependentType() || SrcExpr->isValueDependent(), in AsTypeExpr()
4312 (DstType->isInstantiationDependentType() || in AsTypeExpr()
4314 (DstType->containsUnexpandedParameterPack() || in AsTypeExpr()
/external/clang/include/clang/Sema/
DSema.h6572 QualType DstType, QualType SrcType,
6578 void DiagnoseAssignmentEnum(QualType DstType, QualType SrcType,
/external/llvm/lib/Analysis/
DScalarEvolution.cpp1536 Type *DstType = Trunc->getType(); in getAddExpr() local
1581 return getTruncateExpr(Fold, DstType); in getAddExpr()