Home
last modified time | relevance | path

Searched refs:hasSameUnqualifiedType (Results 1 – 25 of 34) sorted by relevance

12

/external/clang/lib/CodeGen/
DCGExprAgg.cpp628 assert(CGF.getContext().hasSameUnqualifiedType(valueType, in VisitCastExpr()
642 assert(CGF.getContext().hasSameUnqualifiedType(op->getType(), in VisitCastExpr()
699 assert(CGF.getContext().hasSameUnqualifiedType(E->getSubExpr()->getType(), in VisitCastExpr()
862 assert(CGF.getContext().hasSameUnqualifiedType(E->getLHS()->getType(), in VisitBinAssign()
1161 CGF.getContext().hasSameUnqualifiedType(E->getInit(0)->getType(), in VisitInitListExpr()
DCGExprComplex.cpp844 .hasSameUnqualifiedType(ComplexElementTy, E->getRHS()->getType())); in EmitCompoundAssignLValue()
848 .hasSameUnqualifiedType(OpInfo.Ty, E->getRHS()->getType())); in EmitCompoundAssignLValue()
864 if (!CGF.getContext().hasSameUnqualifiedType(ComplexElementTy, LHSTy)) in EmitCompoundAssignLValue()
911 assert(CGF.getContext().hasSameUnqualifiedType(E->getLHS()->getType(), in EmitBinAssignLValue()
DCGExprCXX.cpp466 assert(getContext().hasSameUnqualifiedType(E->getType(), in EmitCXXConstructExpr()
1000 assert(getContext().hasSameUnqualifiedType(ElementType, Init->getType()) && in EmitNewArrayInitializer()
DCGExprScalar.cpp1518 assert(CGF.getContext().hasSameUnqualifiedType(E->getType(), DestTy)); in VisitCastExpr()
2949 assert(CGF.getContext().hasSameUnqualifiedType(CETy, in EmitCompare()
2956 assert(CGF.getContext().hasSameUnqualifiedType(CETy, RHSTy) && in EmitCompare()
DCGExprConstant.cpp942 assert(CGM.getContext().hasSameUnqualifiedType(Ty, Arg->getType()) && in VisitCXXConstructExpr()
/external/clang/lib/Sema/
DSemaOverload.cpp1257 (S.Context.hasSameUnqualifiedType(FromType, ToType) || in TryImplicitConversion()
1271 if (!S.Context.hasSameUnqualifiedType(FromType, ToType)) in TryImplicitConversion()
1337 if (Context.hasSameUnqualifiedType(FromType, ToType)) in IsNoReturnConversion()
1394 if (S.Context.hasSameUnqualifiedType(FromType, ToType)) in IsVectorConversion()
1474 if (!S.Context.hasSameUnqualifiedType( in IsStandardConversion()
1584 if (S.Context.hasSameUnqualifiedType(FromType, ToType)) { in IsStandardConversion()
1819 return Context.hasSameUnqualifiedType(Underlying, ToType) || in IsIntegralPromotion()
1826 return Context.hasSameUnqualifiedType( in IsIntegralPromotion()
1861 return Context.hasSameUnqualifiedType(ToType, PromoteTypes[Idx]); in IsIntegralPromotion()
2106 if (Context.hasSameUnqualifiedType(FromPointeeType, ToPointeeType)) in IsPointerConversion()
[all …]
DSemaExprObjC.cpp519 if (Context.hasSameUnqualifiedType(PointeeType, Context.CharTy)) { in BuildObjCBoxedExpr()
820 !Context.hasSameUnqualifiedType(PtrT->getPointeeType(), IdT)) { in BuildObjCArrayLiteral()
938 !Context.hasSameUnqualifiedType(PtrValue->getPointeeType(), IdT)) { in BuildObjCDictionaryLiteral()
952 !Context.hasSameUnqualifiedType(PtrKey->getPointeeType(), in BuildObjCDictionaryLiteral()
971 err = !Context.hasSameUnqualifiedType(PtrKey->getPointeeType(), in BuildObjCDictionaryLiteral()
1447 Context.hasSameUnqualifiedType(destType, MD->getReturnType())) in EmitRelatedResultTypeNoteForReturn()
1484 if (Context.hasSameUnqualifiedType( in EmitRelatedResultTypeNote()
1488 if (!Context.hasSameUnqualifiedType(Method->getReturnType(), in EmitRelatedResultTypeNote()
DSemaExprCXX.cpp208 Context.hasSameUnqualifiedType(T, SearchType)) { in getDestructorName()
333 if (SearchType->isDependentType() || Context.hasSameUnqualifiedType(SearchType, T)) { in getDestructorType()
1717 S.Context.hasSameUnqualifiedType(FD->getParamDecl(1)->getType(), in isNonPlacementDeallocationFunction()
3378 if (Context.hasSameUnqualifiedType(ElType, From->getType())) { in PerformImplicitConversion()
3408 if (Context.hasSameUnqualifiedType(ElType, ToType)) { in PerformImplicitConversion()
4238 assert(Self.Context.hasSameUnqualifiedType(LhsT, RhsT) in EvaluateBinaryTypeTrait()
4575 if (!Context.hasSameUnqualifiedType(Class, LHSType)) { in CheckPointerToMemberOperands()
4937 Context.hasSameUnqualifiedType(LTy, RTy) && in CXXCheckConditionalOperands()
5846 if (!Context.hasSameUnqualifiedType(DestructedType, ObjectType)) { in BuildPseudoDestructorExpr()
5887 !Context.hasSameUnqualifiedType(ScopeType, ObjectType)) { in BuildPseudoDestructorExpr()
DSemaCast.cpp1409 if (!Self.Context.hasSameUnqualifiedType(SrcMemPtr->getPointeeType(), in TryStaticMemberPointerUpcast()
1686 if (Context.hasSameUnqualifiedType(DestTy, SrcTy)) { in CheckCompatibleReinterpretCast()
2284 if (DestRecordTy && Self.Context.hasSameUnqualifiedType(DestType, SrcType)){ in CheckCStyleCast()
2298 if (Self.Context.hasSameUnqualifiedType(Field->getType(), SrcType) && in CheckCStyleCast()
DSemaTemplate.cpp1598 if (Context.hasSameUnqualifiedType(T, QualType(CurType, 0))) in getRangeOfTypeInNestedNameSpecifier()
4242 } else if (Context.hasSameUnqualifiedType(Arg, Context.OverloadTy)) { in CheckTemplateArgument()
4336 if (S.Context.hasSameUnqualifiedType(Arg->getType(), ParamType) || in isNullPointerValueTemplateArgument()
4407 if (!S.Context.hasSameUnqualifiedType(ArgType, in CheckTemplateArgumentIsCompatibleWithParameter()
4627 if (!S.Context.hasSameUnqualifiedType(Func->getType(), in CheckTemplateArgumentAddressOfObjectOrFunction()
4667 if (!S.Context.hasSameUnqualifiedType(Var->getType(), in CheckTemplateArgumentAddressOfObjectOrFunction()
4691 if (!S.Context.hasSameUnqualifiedType(ArgType, ParamType)) { in CheckTemplateArgumentAddressOfObjectOrFunction()
4748 } else if (!S.Context.hasSameUnqualifiedType(Arg->getType(), in CheckTemplateArgumentPointerToMember()
4874 !Context.hasSameUnqualifiedType(ParamType, Arg->getType())) { in CheckTemplateArgument()
7830 if (Context.hasSameUnqualifiedType(Method->getType(), Adjusted)) { in ActOnExplicitInstantiation()
DSemaCodeComplete.cpp763 if (SemaRef.Context.hasSameUnqualifiedType(PreferredType, TC)) in AdjustResultPriorityForDecl()
3964 else if (!SemaRef.Context.hasSameUnqualifiedType( in getParamType()
4451 Context.hasSameUnqualifiedType(Base.getType(), in CodeCompleteConstructorInitializer()
4475 Context.hasSameUnqualifiedType(Base.getType(), in CodeCompleteConstructorInitializer()
5369 if (!S.Context.hasSameUnqualifiedType((*CurP)->getType(), in AddSuperSendCompletion()
5553 } else if (!Context.hasSameUnqualifiedType(PreferredType, in getPreferredArgumentTypeForMessageSend()
6354 !Context.hasSameUnqualifiedType(ReturnType, M->getReturnType())) in FindImplementableMethods()
6438 Context.hasSameUnqualifiedType(ReturnType.getNonReferenceType(), in AddObjCKeyValueCompletions()
DSemaStmt.cpp710 S.Context.hasSameUnqualifiedType(EnumType, VarType)) in ShouldDiagnoseSwitchCaseNotInEnum()
1177 if (!Context.hasSameUnqualifiedType(SrcType, DstType) && in DiagnoseAssignmentEnum()
2703 !Context.hasSameUnqualifiedType(ReturnType, VDType)) in isCopyElisionCandidate()
2781 !Context.hasSameUnqualifiedType(RRefType->getPointeeType(), in PerformMoveOrCopyInitialization()
DSemaInit.cpp3701 if (S.Context.hasSameUnqualifiedType(InitType, DestType) || in TryListInitialization()
5009 (Context.hasSameUnqualifiedType(SourceType, DestType) || in InitializeFrom()
5038 if (Context.hasSameUnqualifiedType(SourceType, Atomic->getValueType()) || in InitializeFrom()
5997 if (!S.Context.hasSameUnqualifiedType(DestType, SourceType)) { in CheckMoveOnConstruction()
6381 if (S.Context.hasSameUnqualifiedType(SourceType, Class) || in Perform()
DSemaTemplateDeduction.cpp975 if (ParamRef && ArgRef && S.Context.hasSameUnqualifiedType(Param, Arg)) { in DeduceTemplateArgumentsByTypeMatch()
2656 if (Context.hasSameUnqualifiedType(A, DeducedA)) in CheckOriginalCallArgDeduction()
2737 if (Context.hasSameUnqualifiedType(A, DeducedA)) in CheckOriginalCallArgDeduction()
DSemaExprMember.cpp1452 assert(S.Context.hasSameUnqualifiedType(BaseType, in LookupMemberExpr()
DSemaExpr.cpp2559 if (Context.hasSameUnqualifiedType(FromRecordType, DestRecordType)) in PerformObjectMemberConversion()
2610 if (Context.hasSameUnqualifiedType(FromRecordType, DestRecordType)) in PerformObjectMemberConversion()
2629 if (!Context.hasSameUnqualifiedType(FromRecordType, URecordType)) { in PerformObjectMemberConversion()
5350 if (Context.hasSameUnqualifiedType(SrcTy, DestTy)) in PrepareScalarCast()
7685 << (unsigned)!S.Context.hasSameUnqualifiedType(LHS->getType(), in diagnoseArithmeticOnTwoFunctionPointers()
8048 if (!Context.hasSameUnqualifiedType(lpointee, rpointee)) { in CheckSubtractionOperands()
8326 if (S.Context.hasSameUnqualifiedType(LHSStrippedType, RHSStrippedType)) in checkEnumComparison()
8860 Context.hasSameUnqualifiedType(LHS.get()->getType(), in CheckCompareOperands()
DSemaDeclObjC.cpp2244 if (S.Context.hasSameUnqualifiedType(MethodImpl->getReturnType(), in CheckMethodOverrideReturn()
2329 if (S.Context.hasSameUnqualifiedType(ImplTy, IfaceTy)) in CheckMethodOverrideParam()
/external/clang/lib/AST/
DDeclCXX.cpp834 if (Context.hasSameUnqualifiedType(BI.getType(), T)) { in addedMember()
1503 !Context.hasSameUnqualifiedType(getParamDecl(1)->getType(), in isUsualDeallocationFunction()
1538 return Context.hasSameUnqualifiedType(ClassType, ParamType); in isCopyAssignmentOperator()
1559 return Context.hasSameUnqualifiedType(ClassType, ParamType); in isMoveAssignmentOperator()
DExpr.cpp2609 if (Ctx.hasSameUnqualifiedType(E->getType(), SE->getType())) { in IgnoreParenNoopCasts()
2674 if (!C.hasSameUnqualifiedType(getType(), C.getTypeDeclType(TempTy))) in isTemporaryObject()
/external/clang/lib/StaticAnalyzer/Core/
DStore.cpp381 assert(svalBuilder.getContext().hasSameUnqualifiedType(castTy, T)); in CastRetrievedVal()
DSimpleSValBuilder.cpp470 getContext().hasSameUnqualifiedType(symIntExpr->getType(), in evalBinOpNN()
DRegionStore.cpp1510 if (!SVB.getContext().hasSameUnqualifiedType(RegionTy, SourceRegionTy)) in getExistingLazyBinding()
1587 if (!Ctx.hasSameUnqualifiedType(T, R->getElementType())) in getBindingForElement()
/external/clang/lib/Analysis/
DBodyFarm.cpp419 if (!Ctx.hasSameUnqualifiedType(IVar->getType(), in createObjCPropertyGetter()
/external/clang/lib/Edit/
DRewriteObjCFoundationAPI.cpp1131 if (Ctx.hasSameUnqualifiedType(PointeeType, Ctx.CharTy)) { in doRewriteToUTF8StringBoxedExpressionHelper()
/external/clang/include/clang/AST/
DASTContext.h1982 bool hasSameUnqualifiedType(QualType T1, QualType T2) const { in hasSameUnqualifiedType() function

12