Home
last modified time | relevance | path

Searched refs:hasSameType (Results 1 – 25 of 78) sorted by relevance

1234

/external/llvm-project/lldb/unittests/Symbol/
DTestTypeSystemClang.cpp53 context.hasSameType(GetBasicQualType(eBasicTypeBool), context.BoolTy)); in TEST_F()
55 context.hasSameType(GetBasicQualType(eBasicTypeChar), context.CharTy)); in TEST_F()
56 EXPECT_TRUE(context.hasSameType(GetBasicQualType(eBasicTypeChar16), in TEST_F()
58 EXPECT_TRUE(context.hasSameType(GetBasicQualType(eBasicTypeChar32), in TEST_F()
60 EXPECT_TRUE(context.hasSameType(GetBasicQualType(eBasicTypeDouble), in TEST_F()
62 EXPECT_TRUE(context.hasSameType(GetBasicQualType(eBasicTypeDoubleComplex), in TEST_F()
65 context.hasSameType(GetBasicQualType(eBasicTypeFloat), context.FloatTy)); in TEST_F()
66 EXPECT_TRUE(context.hasSameType(GetBasicQualType(eBasicTypeFloatComplex), in TEST_F()
69 context.hasSameType(GetBasicQualType(eBasicTypeHalf), context.HalfTy)); in TEST_F()
71 context.hasSameType(GetBasicQualType(eBasicTypeInt), context.IntTy)); in TEST_F()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/locale/
DKeyTypeData.java361 boolean hasSameType = false; in initFromResourceBundle()
365 hasSameType = true; in initFromResourceBundle()
375 if (!hasSameType) { in initFromResourceBundle()
621 boolean hasSameType = false;
624 hasSameType = true;
633 if (!hasSameType) {
/external/icu/android_icu4j/src/main/java/android/icu/impl/locale/
DKeyTypeData.java366 boolean hasSameType = false; in initFromResourceBundle()
370 hasSameType = true; in initFromResourceBundle()
380 if (!hasSameType) { in initFromResourceBundle()
626 boolean hasSameType = false;
629 hasSameType = true;
638 if (!hasSameType) {
/external/llvm-project/clang-tools-extra/clang-tidy/misc/
DNewDeleteOverloadsCheck.cpp58 Ctx.hasSameType(FPT->getParamType(1), Ctx.getSizeType())) in AST_MATCHER()
/external/llvm-project/clang-tools-extra/clang-tidy/readability/
DImplicitBoolConversionCheck.cpp50 return Context.hasSameType(Type, Context.FloatTy) ? "0.0f" : "0.0"; in getZeroLiteralToCompareWithForType()
208 if (Context.hasSameType(DestType, Context.FloatTy)) { in getEquivalentForBoolLiteral()
/external/llvm-project/clang-tools-extra/clang-tidy/bugprone/
DVirtualNearMissCheck.cpp55 if (Context->hasSameType(DerivedReturnTy, BaseReturnTy)) in checkOverridingFunctionReturnType()
/external/clang/lib/AST/
DASTDiagnostic.cpp1077 if (Context.hasSameType(FromType, ToType)) in OnlyPerformTypeDiff()
1105 Context.hasSameType(FromType, ToType)); in DiffTypes()
1154 Context.hasSameType(ArgType->getPointeeType(), VDType)) in InitializeNonTypeDiffVariables()
1184 Context.hasSameType(ArgType->getPointeeType(), VDType)) in InitializeNonTypeDiffVariables()
1248 Tree.SetSame(Context.hasSameType(FromIntType, ToIntType) && in DiffNonTypes()
1724 !Context.hasSameType(FromIntType, ToIntType); in PrintAPSInt()
/external/llvm-project/clang/lib/AST/
DASTDiagnostic.cpp1117 if (Context.hasSameType(FromType, ToType)) in OnlyPerformTypeDiff()
1145 Context.hasSameType(FromType, ToType)); in DiffTypes()
1194 Context.hasSameType(ArgType->getPointeeType(), VDType)) in InitializeNonTypeDiffVariables()
1224 Context.hasSameType(ArgType->getPointeeType(), VDType)) in InitializeNonTypeDiffVariables()
1288 Tree.SetSame(Context.hasSameType(FromIntType, ToIntType) && in DiffNonTypes()
1765 !Context.hasSameType(FromIntType, ToIntType); in PrintAPSInt()
DASTContext.cpp3059 return hasSameType(T, U) || in hasSameFunctionTypeIgnoringExceptionSpec()
3061 hasSameType(getFunctionTypeWithExceptionSpec(T, EST_None), in hasSameFunctionTypeIgnoringExceptionSpec()
3083 return hasSameType(T, U) || in hasSameFunctionTypeIgnoringPtrSizes()
3084 hasSameType(getFunctionTypeWithoutPtrSizes(T), in hasSameFunctionTypeIgnoringPtrSizes()
5780 if (hasSameType(T1, T2)) in hasSimilarType()
5798 if (hasSameType(T1, T2)) in hasCvrSimilarType()
8528 hasSameType(First->getElementType(), Second->getElementType()) && in areCompatibleVectorTypes()
8560 hasSameType(VT->getElementType(), in areCompatibleSveTypes()
9011 if (ctx.hasSameType(lhsArgs[i], rhsArgs[i])) in sameObjCTypeArgs()
9017 !ctx.hasSameType(lhsArgs[i].stripObjCKindOfType(ctx), in sameObjCTypeArgs()
[all …]
/external/llvm-project/clang-tools-extra/clang-tidy/modernize/
DUseAutoCheck.cpp323 if (!Context->hasSameType(V->getType(), E->getType())) in replaceIterators()
/external/llvm-project/clang/lib/Sema/
DSemaCXXScopeSpec.cpp110 if (Context.hasSameType(Injected, ContextType)) in computeDeclContext()
684 !Context.hasSameType( in BuildCXXNestedNameSpecifier()
DSemaExprCXX.cpp594 if (!Context.hasSameType(T, UnqualT)) { in BuildCXXTypeId()
2705 if (Context.hasSameType(adjustCCAndNoReturn(Fn->getType(), in FindAllocationFunctions()
4089 if (Context.hasSameType(FromType, Context.OverloadTy)) { in PerformImplicitConversion()
4507 assert(Context.hasSameType( in PerformImplicitConversion()
5311 return Self.Context.hasSameType(LhsT, RhsT); in EvaluateBinaryTypeTrait()
5964 if (!Context.hasSameType(LHSType, RHSType)) { in CheckGNUVectorConditionalTypes()
5982 if (Context.hasSameType(LHSType, RHSType)) in CheckGNUVectorConditionalTypes()
6126 if (!Context.hasSameType(LTy, RTy) && in CXXCheckConditionalOperands()
6170 if (!Context.hasSameType(LTy, RTy) && in CXXCheckConditionalOperands()
6205 bool Same = Context.hasSameType(LTy, RTy); in CXXCheckConditionalOperands()
[all …]
DSemaDeclCXX.cpp1312 else if (!S.Context.hasSameType(P.back().Base->getType(), in findDecomposableBaseClass()
1534 assert(Context.hasSameType(New->getType(), Old->getType()) && in MergeVarDeclExceptionSpecs()
7293 if (!Context.hasSameType(ReturnType, ExpectedReturnType)) { in CheckExplicitlyDefaultedSpecialMember()
8249 if (E->isRValue() && S.Context.hasSameType(E->getType(), R)) in buildStaticCastToR()
8315 !Context.hasSameType(Param->getType(), ExpectedParmType1) && in CheckExplicitlyDefaultedComparison()
8316 !Context.hasSameType(Param->getType(), ExpectedParmType2)) { in CheckExplicitlyDefaultedComparison()
8329 !Context.hasSameType(FD->getParamDecl(0)->getType(), in CheckExplicitlyDefaultedComparison()
8373 !Context.hasSameType(FD->getDeclaredReturnType(), Context.BoolTy)) { in CheckExplicitlyDefaultedComparison()
8384 !Context.hasSameType(FD->getDeclaredReturnType(), in CheckExplicitlyDefaultedComparison()
11568 return Context.hasSameType(TD1->getUnderlyingType(), in IsEquivalentForUsingDecl()
[all …]
DSemaOverload.cpp1205 !Context.hasSameType(Old->getDeclaredReturnType(), in IsOverload()
1756 assert(S.Context.hasSameType( in IsStandardConversion()
2769 if (Context.hasSameType(FromPointeeType, ToPointeeType)) in IsBlockPointerConversion()
2784 if (Context.hasSameType(FromFunctionType->getReturnType(), in IsBlockPointerConversion()
2794 if (Context.hasSameType(RHS,LHS)) { in IsBlockPointerConversion()
2812 if (Context.hasSameType(FromArgType, ToArgType)) { in IsBlockPointerConversion()
2872 if (!Context.hasSameType(FromMember->getClass(), ToMember->getClass())) { in HandleFunctionTypeMismatch()
2898 if (Context.hasSameType(FromType, ToType)) { in HandleFunctionTypeMismatch()
2928 if (!Context.hasSameType(FromFunction->getReturnType(), in HandleFunctionTypeMismatch()
2971 if (!Context.hasSameType(Old, New)) { in FunctionParamTypesAreEqual()
[all …]
/external/clang/lib/Sema/
DSemaCXXScopeSpec.cpp112 if (Context.hasSameType(Injected, ContextType)) in computeDeclContext()
679 !Context.hasSameType( in BuildCXXNestedNameSpecifier()
DSemaOverload.cpp1559 assert(S.Context.hasSameType( in IsStandardConversion()
2522 if (Context.hasSameType(FromPointeeType, ToPointeeType)) in IsBlockPointerConversion()
2537 if (Context.hasSameType(FromFunctionType->getReturnType(), in IsBlockPointerConversion()
2547 if (Context.hasSameType(RHS,LHS)) { in IsBlockPointerConversion()
2565 if (Context.hasSameType(FromArgType, ToArgType)) { in IsBlockPointerConversion()
2620 if (!Context.hasSameType(FromMember->getClass(), ToMember->getClass())) { in HandleFunctionTypeMismatch()
2646 if (Context.hasSameType(FromType, ToType)) { in HandleFunctionTypeMismatch()
2676 if (!Context.hasSameType(FromFunction->getReturnType(), in HandleFunctionTypeMismatch()
2705 if (!Context.hasSameType(O->getUnqualifiedType(), in FunctionParamTypesAreEqual()
3534 return Context.hasSameType(SCS1.getToType(2), SCS2.getToType(2))? Result in compareStandardConversionSubsets()
[all …]
DSemaTemplateDeduction.cpp167 Context.hasSameType(X.getAsType(), Y.getAsType())) in checkDeducedTemplateArguments()
258 Context.hasSameType(X.getNullPtrType(), Y.getNullPtrType())) in checkDeducedTemplateArguments()
1725 S.Context.hasSameType(Param.getNullPtrType(), Arg.getNullPtrType())) in DeduceTemplateArguments()
1955 return Context.hasSameType(X.getNullPtrType(), Y.getNullPtrType()); in isSameTemplateArg()
3639 !Context.hasSameType(Specialization->getType(), ArgFunctionType)) in DeduceTemplateArguments()
3705 if (!S.Context.hasSameType(CallOpSpecialized->getReturnType(), in SpecializeCorrespondingLambdaCallOperatorAndInvoker()
DSemaExprCXX.cpp442 if (!Context.hasSameType(T, UnqualT)) { in BuildCXXTypeId()
2112 if (Context.hasSameType(Fn->getType(), ExpectedFunctionType)) in FindAllocationFunctions()
3368 if (Context.hasSameType(FromType, Context.OverloadTy)) { in PerformImplicitConversion()
3748 assert(Context.hasSameType( in PerformImplicitConversion()
4516 return Self.Context.hasSameType(LhsT, RhsT); in EvaluateBinaryTypeTrait()
5167 if (!Context.hasSameType(LTy, RTy) && in CXXCheckConditionalOperands()
5204 if (!Context.hasSameType(LTy, RTy) && in CXXCheckConditionalOperands()
5229 bool Same = Context.hasSameType(LTy, RTy); in CXXCheckConditionalOperands()
5535 if (!Context.hasSameType(Composite1, Composite2)) { in FindCompositePointerType()
DSemaDeclCXX.cpp677 assert(Context.hasSameType(New->getType(), Old->getType()) && in MergeVarDeclExceptionSpecs()
5400 if (!Context.hasSameType(ReturnType, ExpectedReturnType)) { in CheckExplicitlyDefaultedSpecialMember()
7882 return Context.hasSameType(TD1->getUnderlyingType(), in IsEquivalentForUsingDecl()
8189 !Ctx.hasSameType(QualType(Specifier->getAsType(), 0), FoundType)) in ValidateCandidate()
8846 !Context.hasSameType(OldTD->getUnderlyingType(), in ActOnAliasDeclaration()
11925 SemaRef.Context.hasSameType(PmDecl->getType(), SemaRef.Context.CharTy)) in checkLiteralOperatorTemplateParameterList()
12000 Context.hasSameType(ParamType, Context.CharTy) || in CheckLiteralOperatorDeclaration()
12001 Context.hasSameType(ParamType, Context.WideCharTy) || in CheckLiteralOperatorDeclaration()
12002 Context.hasSameType(ParamType, Context.Char16Ty) || in CheckLiteralOperatorDeclaration()
12003 Context.hasSameType(ParamType, Context.Char32Ty)) { in CheckLiteralOperatorDeclaration()
[all …]
DSemaDecl.cpp1880 if (S.Context.hasSameType(OldTD->getUnderlyingType(), in filterNonConflictingPreviousTypedefDecls()
1920 !Context.hasSameType(OldType, NewType)) { in isIncompatibleTypedef()
2937 if (!Context.hasSameType(OldDeclaredReturnType, NewDeclaredReturnType) && in MergeFunctionDecl()
3322 assert(!S.Context.hasSameType(New->getType(), Old->getType())); in diagnoseVarDeclTypeMismatch()
3354 } else if (Context.hasSameType(New->getType(), Old->getType())) { in MergeVarDeclTypes()
3377 if (!Context.hasSameType(NewArray, PrevVDTy)) in MergeVarDeclTypes()
3383 if (Context.hasSameType(OldArray->getElementType(), in MergeVarDeclTypes()
3391 if (Context.hasSameType(OldArray->getElementType(), in MergeVarDeclTypes()
3772 if (!Context.hasSameType(NewTD->getUnderlyingType(), in setTagNameForLinkagePurposes()
4696 if (Context.hasSameType(DefParamTy, DeclParamTy)) in hasSimilarParameters()
[all …]
DSemaObjCProperty.cpp527 if (!Context.hasSameType(PIDecl->getType(), PDecl->getType())) { in HandlePropertyInClassExtension()
1174 if (!Context.hasSameType(PropertyIvarType, IvarType)) { in ActOnPropertyImplDecl()
1498 bool compat = Context.hasSameType(PropertyRValueType, GetterType); in DiagnosePropertyAccessorMismatch()
/external/clang/lib/CodeGen/
DCGExprAgg.cpp338 !Ctx.hasSameType(Field->getType()->getPointeeType(), in VisitCXXStdInitializerListExpr()
362 Ctx.hasSameType(Field->getType()->getPointeeType(), in VisitCXXStdInitializerListExpr()
369 } else if (Ctx.hasSameType(Field->getType(), Ctx.getSizeType())) { in VisitCXXStdInitializerListExpr()
/external/llvm-project/clang/lib/CodeGen/
DCGExprAgg.cpp409 !Ctx.hasSameType(Field->getType()->getPointeeType(), in VisitCXXStdInitializerListExpr()
433 Ctx.hasSameType(Field->getType()->getPointeeType(), in VisitCXXStdInitializerListExpr()
440 } else if (Ctx.hasSameType(Field->getType(), Ctx.getSizeType())) { in VisitCXXStdInitializerListExpr()
1003 assert(CGF.getContext().hasSameType(E->getLHS()->getType(), in VisitBinCmp()
/external/clang/lib/Serialization/
DASTReaderDecl.cpp2561 TX->getASTContext().hasSameType(TX->getType(), TY->getType()); in isSameTemplateParameter()
2648 return X->getASTContext().hasSameType(TypedefX->getUnderlyingType(), in isSameEntity()
2688 FuncX->getASTContext().hasSameType(FuncX->getType(), FuncY->getType()); in isSameEntity()
2696 if (C.hasSameType(VarX->getType(), VarY->getType())) in isSameEntity()
2709 return C.hasSameType(VarXTy->getElementType(), VarYTy->getElementType()); in isSameEntity()
2734 return X->getASTContext().hasSameType(FDX->getType(), FDY->getType()); in isSameEntity()
/external/llvm-project/clang/lib/Serialization/
DASTReaderDecl.cpp2932 TX->getASTContext().hasSameType(TX->getType(), TY->getType()); in isSameTemplateParameter()
3070 return X->getASTContext().hasSameType(TypedefX->getUnderlyingType(), in isSameEntity()
3148 if (!C.hasSameType(XT, YT)) { in isSameEntity()
3171 if (C.hasSameType(VarX->getType(), VarY->getType())) in isSameEntity()
3184 return C.hasSameType(VarXTy->getElementType(), VarYTy->getElementType()); in isSameEntity()
3210 return X->getASTContext().hasSameType(FDX->getType(), FDY->getType()); in isSameEntity()

1234