Home
last modified time | relevance | path

Searched refs:FromType (Results 1 – 19 of 19) sorted by relevance

/external/clang/lib/AST/
DASTDiagnostic.cpp231 static bool FormatTemplateTypeDiff(ASTContext &Context, QualType FromType,
258 QualType FromType = in FormatASTNodeDiagnosticArgument() local
259 QualType::getFromOpaquePtr(reinterpret_cast<void*>(TDT.FromType)); in FormatASTNodeDiagnosticArgument()
263 if (FormatTemplateTypeDiff(Context, FromType, ToType, TDT.PrintTree, in FormatASTNodeDiagnosticArgument()
278 Val = TDT.PrintFromType ? TDT.FromType : TDT.ToType; in FormatASTNodeDiagnosticArgument()
392 QualType FromType; member in __anon751862460111::TemplateDiff
441 QualType FromType, ToType; member
470 FromType(), ToType(), FromExpr(0), ToExpr(0), FromTD(0), ToTD(0), in DiffNode()
502 void SetNode(QualType FromType, QualType ToType) { in SetNode() argument
503 FlatTree[CurrentNode].FromType = FromType; in SetNode()
[all …]
/external/clang/lib/Sema/
DSemaOverload.cpp251 QualType FromType = getFromType(); in isPointerConversionToVoidPointer() local
258 FromType = Context.getArrayDecayedType(FromType); in isPointerConversionToVoidPointer()
260 if (Second == ICK_Pointer_Conversion && FromType->isAnyPointerType()) in isPointerConversionToVoidPointer()
308 QualType FromType = getToType(0); in getNarrowingKind() local
318 if (FromType->isRealFloatingType() && ToType->isIntegralType(Ctx)) { in getNarrowingKind()
320 } else if (FromType->isIntegralType(Ctx) && ToType->isRealFloatingType()) { in getNarrowingKind()
352 if (FromType->isRealFloatingType() && ToType->isRealFloatingType() && in getNarrowingKind()
353 Ctx.getFloatingTypeOrder(FromType, ToType) == 1) { in getNarrowingKind()
383 if (!FromType->isIntegralOrUnscopedEnumerationType()) { in getNarrowingKind()
389 assert(FromType->isIntegralOrUnscopedEnumerationType()); in getNarrowingKind()
[all …]
DSemaExprObjC.cpp3246 QualType FromType = SubExpr->getType(); in BuildObjCBridgedCast() local
3254 } else if (T->isObjCARCBridgableType() && FromType->isCARCBridgableType()) { in BuildObjCBridgedCast()
3266 << FromType in BuildObjCBridgedCast()
3274 << FromType << br in BuildObjCBridgedCast()
3288 } else if (T->isCARCBridgableType() && FromType->isObjCARCBridgableType()) { in BuildObjCBridgedCast()
3300 SubExpr = ImplicitCastExpr::Create(Context, FromType, in BuildObjCBridgedCast()
3308 << (FromType->isBlockPointerType()? 1 : 0) in BuildObjCBridgedCast()
3309 << FromType in BuildObjCBridgedCast()
3328 << FromType << T << Kind in BuildObjCBridgedCast()
DSemaExprCXX.cpp2471 QualType FromType = From->getType(); in PerformImplicitConversion() local
2499 if (Context.hasSameType(FromType, Context.OverloadTy)) { in PerformImplicitConversion()
2510 FromType = From->getType(); in PerformImplicitConversion()
2521 FromType = FromType.getUnqualifiedType(); in PerformImplicitConversion()
2529 FromType = Context.getArrayDecayedType(FromType); in PerformImplicitConversion()
2530 From = ImpCastExprToType(From, FromType, CK_ArrayToPointerDecay, in PerformImplicitConversion()
2535 FromType = Context.getPointerType(FromType); in PerformImplicitConversion()
2536 From = ImpCastExprToType(From, FromType, CK_FunctionToPointerDecay, in PerformImplicitConversion()
2567 assert(FromType->castAs<EnumType>()->getDecl()->isFixed() && in PerformImplicitConversion()
2684 FromType = Context.FloatTy; in PerformImplicitConversion()
[all …]
DSemaCast.cpp976 QualType FromType = SrcExpr->getType(); in TryLValueToRValueCast() local
979 FromType = FromType.getUnqualifiedType(); in TryLValueToRValueCast()
984 ToType, FromType, in TryLValueToRValueCast()
DSemaExpr.cpp2139 QualType FromType = From->getType(); in PerformObjectMemberConversion() local
2144 if (FromType->getAs<PointerType>()) { in PerformObjectMemberConversion()
2146 FromRecordType = FromType->getPointeeType(); in PerformObjectMemberConversion()
2150 FromRecordType = FromType; in PerformObjectMemberConversion()
2159 if (FromType->getAs<PointerType>()) { in PerformObjectMemberConversion()
2160 FromRecordType = FromType->getPointeeType(); in PerformObjectMemberConversion()
2163 FromRecordType = FromType; in PerformObjectMemberConversion()
2171 if (DestType->isDependentType() || FromType->isDependentType()) in PerformObjectMemberConversion()
2222 FromType = QType; in PerformObjectMemberConversion()
2258 FromType = UType; in PerformObjectMemberConversion()
DSemaTemplateDeduction.cpp3387 QualType FromType = Conv->getConversionType(); in DeduceTemplateArguments() local
3390 QualType P = Context.getCanonicalType(FromType); in DeduceTemplateArguments()
DSemaInit.cpp5743 QualType FromType = Args[0]->getType(); in Diagnose() local
5748 << FromType in Diagnose()
5750 S.HandleFunctionTypeMismatch(PDiag, FromType, DestType); in Diagnose()
/external/webkit/Source/ThirdParty/ANGLE/src/libGLESv2/geometry/
Dvertexconversion.h91 template <class FromType, std::size_t ScaleBits>
98 static float convert(FromType x)
100 const float divisor = 1.0f / static_cast<float>(static_cast<FromType>(1) << ScaleBits);
/external/compiler-rt/lib/ubsan/
Dubsan_handlers.cc236 << Value(Data->FromType, From) << Data->FromType << Data->ToType; in __ubsan_handle_float_cast_overflow()
243 << Value(Data->FromType, From) << Data->FromType << Data->ToType; in __ubsan_handle_float_cast_overflow_abort()
Dubsan_handlers.h100 const TypeDescriptor &FromType; member
/external/llvm/lib/Target/NVPTX/
DNVPTX.h113 enum FromType { enum
DNVPTXISelDAGToDAG.cpp373 unsigned int FromType; in SelectLoadVector() local
378 FromType = NVPTX::PTXLdStInstCode::Signed; in SelectLoadVector()
380 FromType = NVPTX::PTXLdStInstCode::Float; in SelectLoadVector()
382 FromType = NVPTX::PTXLdStInstCode::Unsigned; in SelectLoadVector()
422 getI32Imm(FromType), in SelectLoadVector()
456 getI32Imm(FromType), in SelectLoadVector()
516 getI32Imm(FromType), in SelectLoadVector()
575 getI32Imm(FromType), in SelectLoadVector()
/external/chromium/testing/gmock/test/
Dgmock-actions_test.cc519 class FromType { class
521 FromType(bool* is_converted) : converted_(is_converted) {} in FromType() function in __anon1b80a3a80111::FromType
527 GTEST_DISALLOW_ASSIGN_(FromType);
532 ToType(const FromType& x) { *x.converted() = true; } in ToType()
537 FromType x(&converted); in TEST()
/external/clang/include/clang/Sema/
DOverload.h524 QualType FromType, QualType ToType) { in setBad() argument
526 Bad.init(Failure, FromType, ToType); in setBad()
DSema.h1814 bool IsIntegralPromotion(Expr *From, QualType FromType, QualType ToType);
1815 bool IsFloatingPointPromotion(QualType FromType, QualType ToType);
1816 bool IsComplexPromotion(QualType FromType, QualType ToType);
1817 bool IsPointerConversion(Expr *From, QualType FromType, QualType ToType,
1820 bool isObjCPointerConversion(QualType FromType, QualType ToType,
1822 bool isObjCWritebackConversion(QualType FromType, QualType ToType,
1824 bool IsBlockPointerConversion(QualType FromType, QualType ToType,
1830 QualType FromType, QualType ToType);
1837 bool IsMemberPointerConversion(Expr *From, QualType FromType, QualType ToType,
1844 bool IsQualificationConversion(QualType FromType, QualType ToType,
[all …]
/external/clang/lib/Basic/
DDiagnostic.cpp844 TDT.FromType = getRawArg(ArgNo); in FormatDiagnostic()
890 TDT.FromType)); in FormatDiagnostic()
/external/llvm/lib/Transforms/Scalar/
DScalarReplAggregates.cpp766 Type *FromType = FromVal->getType(); in ConvertScalar_ExtractValue() local
767 if (FromType == ToType && Offset == 0) in ConvertScalar_ExtractValue()
772 if (VectorType *VTy = dyn_cast<VectorType>(FromType)) { in ConvertScalar_ExtractValue()
773 unsigned FromTypeSize = TD.getTypeAllocSize(FromType); in ConvertScalar_ExtractValue()
/external/clang/include/clang/Basic/
DDiagnostic.h1324 intptr_t FromType; member