| /freebsd-13.1/contrib/llvm-project/clang/lib/AST/ |
| H A D | ASTDiagnostic.cpp | 1118 if (Context.hasSameType(FromType, ToType)) in OnlyPerformTypeDiff() 1146 Context.hasSameType(FromType, ToType)); in DiffTypes() 1195 Context.hasSameType(ArgType->getPointeeType(), VDType)) in InitializeNonTypeDiffVariables() 1225 Context.hasSameType(ArgType->getPointeeType(), VDType)) in InitializeNonTypeDiffVariables() 1289 Tree.SetSame(Context.hasSameType(FromIntType, ToIntType) && in DiffNonTypes() 1766 !Context.hasSameType(FromIntType, ToIntType); in PrintAPSInt()
|
| H A D | ASTContext.cpp | 3117 return hasSameType(T, U) || in hasSameFunctionTypeIgnoringExceptionSpec() 3141 return hasSameType(T, U) || in hasSameFunctionTypeIgnoringPtrSizes() 3142 hasSameType(getFunctionTypeWithoutPtrSizes(T), in hasSameFunctionTypeIgnoringPtrSizes() 5865 if (hasSameType(T1, T2)) in hasSimilarType() 5883 if (hasSameType(T1, T2)) in hasCvrSimilarType() 8701 hasSameType(VT->getElementType(), in areCompatibleSveTypes() 9159 if (ctx.hasSameType(lhsArgs[i], rhsArgs[i])) in sameObjCTypeArgs() 9165 !ctx.hasSameType(lhsArgs[i].stripObjCKindOfType(ctx), in sameObjCTypeArgs() 9396 return hasSameType(LHS, RHS); in typesAreCompatible() 9639 if (Context.hasSameType(underlyingType, other)) in mergeEnumWithInteger() [all …]
|
| H A D | ASTStructuralEquivalence.cpp | 1921 if (Context.hasSameType(F->getType(), AnonTy)) in findUntaggedStructOrUnionIndex() 1937 if (Context.hasSameType(FieldType, AnonTy)) in findUntaggedStructOrUnionIndex()
|
| H A D | TypePrinter.cpp | 1873 if (Ctx.hasSameType(T, Pattern)) in isSubstitutedType() 1882 return Ctx.hasSameType(SubstArg, T); in isSubstitutedType()
|
| H A D | DeclTemplate.cpp | 571 if (Context.hasSameType(P.getInjectedSpecializationType(), T)) in findPartialSpecialization()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaCXXScopeSpec.cpp | 110 if (Context.hasSameType(Injected, ContextType)) in computeDeclContext() 698 !Context.hasSameType( in BuildCXXNestedNameSpecifier()
|
| H A D | SemaExprCXX.cpp | 614 if (!Context.hasSameType(T, UnqualT)) { in BuildCXXTypeId() 4186 if (Context.hasSameType(FromType, Context.OverloadTy)) { in PerformImplicitConversion() 4624 assert(Context.hasSameType( in PerformImplicitConversion() 5431 return Self.Context.hasSameType(LhsT, RhsT); in EvaluateBinaryTypeTrait() 6077 if (!Context.hasSameType(LHSType, RHSType)) { in CheckVectorConditionalTypes() 6095 if (Context.hasSameType(LHSType, RHSType)) in CheckVectorConditionalTypes() 6249 if (!Context.hasSameType(LTy, RTy) && in CXXCheckConditionalOperands() 6327 bool Same = Context.hasSameType(LTy, RTy); in CXXCheckConditionalOperands() 6738 if (Context.hasSameType(Cls1, Cls2)) in FindCompositePointerType() 6826 !Context.hasSameType(Composite1, Composite2)) { in FindCompositePointerType() [all …]
|
| H A D | SemaDeclCXX.cpp | 8415 !Context.hasSameType(FD->getParamDecl(0)->getType(), in CheckExplicitlyDefaultedComparison() 8470 !Context.hasSameType(FD->getDeclaredReturnType(), in CheckExplicitlyDefaultedComparison() 11668 return Context.hasSameType(TD1->getUnderlyingType(), in IsEquivalentForUsingDecl() 12856 !Context.hasSameType(OldTD->getUnderlyingType(), in ActOnAliasDeclaration() 15925 Context.hasSameType(ParamType, Context.CharTy) || in CheckLiteralOperatorDeclaration() 15927 Context.hasSameType(ParamType, Context.Char8Ty) || in CheckLiteralOperatorDeclaration() 15928 Context.hasSameType(ParamType, Context.Char16Ty) || in CheckLiteralOperatorDeclaration() 15929 Context.hasSameType(ParamType, Context.Char32Ty)) { in CheckLiteralOperatorDeclaration() 15991 if (!(Context.hasSameType(InnerType, Context.CharTy) || in CheckLiteralOperatorDeclaration() 15993 Context.hasSameType(InnerType, Context.Char8Ty) || in CheckLiteralOperatorDeclaration() [all …]
|
| H A D | SemaOverload.cpp | 1205 !Context.hasSameType(Old->getDeclaredReturnType(), in IsOverload() 1756 assert(S.Context.hasSameType( in IsStandardConversion() 2794 if (Context.hasSameType(RHS,LHS)) { in IsBlockPointerConversion() 2812 if (Context.hasSameType(FromArgType, ToArgType)) { in IsBlockPointerConversion() 2898 if (Context.hasSameType(FromType, ToType)) { in HandleFunctionTypeMismatch() 2928 if (!Context.hasSameType(FromFunction->getReturnType(), in HandleFunctionTypeMismatch() 2971 if (!Context.hasSameType(Old, New)) { in FunctionParamTypesAreEqual() 4400 if (S.Context.hasSameType(FromType1, FromType2) && in CompareDerivedToBaseConversions() 5497 if (!Context.hasSameType(From->getType(), DestType)) { in PerformObjectArgumentInitialization() 9917 if (Context.hasSameType(VA->getType(), VB->getType())) in isEquivalentInternalLinkageDeclaration() [all …]
|
| H A D | SemaInit.cpp | 1363 assert(SemaRef.Context.hasSameType(expr->getType(), ElemType) && in CheckSubElementType() 4166 if (!S.Context.hasSameType(ConvType, DestType)) in TryConstructorInitialization() 4729 if (!S.Context.hasSameType(cv1T4, cv1T1)) in TryRefInitWithConversionFunction() 4984 if (!S.Context.hasSameType(cv1T4, cv1T1)) in TryReferenceInitializationCore() 5392 else if (!S.Context.hasSameType(ConvType, DestType)) in TryUserDefinedConversion() 5519 if (Context.hasSameType(QualType(Dest, 0), QualType(Source, 0))) in hasCompatibleArrayTypes() 5523 if (!Context.hasSameType(Dest->getElementType(), Source->getElementType())) in hasCompatibleArrayTypes() 7014 if (Ctx.hasSameType(RetT, LHST)) in implicitObjectParamIsLifetimeBound() 8258 S.Context.hasSameType( in Perform() 8460 bool IsTemporary = !S.Context.hasSameType(Entity.getType(), Ty); in Perform()
|
| H A D | SemaObjCProperty.cpp | 526 if (!Context.hasSameType(PIDecl->getType(), PDecl->getType())) { in HandlePropertyInClassExtension() 1363 if (!Context.hasSameType(PropertyIvarType, IvarType)) { in ActOnPropertyImplDecl() 1717 bool compat = Context.hasSameType(PropertyRValueType, GetterType); in DiagnosePropertyAccessorMismatch()
|
| H A D | SemaCast.cpp | 2038 if (Self.Context.hasSameType(SrcType, DestType)) in DiagnoseCastOfObjCSEL() 2059 if (Self.Context.hasSameType(SrcType, DstType) || in DiagnoseCallingConvCast() 2573 if (Self.Context.hasSameType(SrcPointeeTypeWithoutAS, in TryAddressSpaceCast()
|
| H A D | SemaTemplateDeduction.cpp | 243 if (YType.isNull() || !Context.hasSameType(XType, YType)) in checkDeducedTemplateArguments() 255 Context.hasSameType(X.getAsType(), Y.getAsType())) in checkDeducedTemplateArguments() 2358 S.Context.hasSameType(Param.getNullPtrType(), Arg.getNullPtrType())) in DeduceTemplateArguments() 2585 return Context.hasSameType(X.getNullPtrType(), Y.getNullPtrType()); in isSameTemplateArg() 4405 !Context.hasSameType(SpecializationType, ArgFunctionType)) in DeduceTemplateArguments()
|
| H A D | SemaExpr.cpp | 7304 if (Context.hasSameType(ET, DestTy)) in PrepareScalarCast() 7338 if (Context.hasSameType(ET, DestTy)) in PrepareScalarCast() 7878 if (S.Context.hasSameType(LHSTy, RHSTy)) { in checkConditionalPointerCompatibility() 8428 if (LHSTy->isSizelessBuiltinType() && Context.hasSameType(LHSTy, RHSTy)) in CheckConditionalOperands() 9323 Context.hasSameType(LHSType, in CheckAssignmentConstraints() 9417 Context.hasSameType(RHSType, in CheckAssignmentConstraints() 10065 if (Context.hasSameType(LHSType, RHSType)) in CheckVectorOperands() 12487 if (Context.hasSameType(LHSType, RHSType)) in CheckMatrixElementwiseOperands() 12532 if (!Context.hasSameType(LHSMatType->getElementType(), in CheckMatrixMultiplyOperands() 15771 if (Context.hasSameType(MSVaListType, E->getType())) { in BuildVAArgExpr() [all …]
|
| H A D | SemaStmtAsm.cpp | 611 if (Context.hasSameType(InTy, OutTy)) in ActOnGCCAsmStmt()
|
| H A D | SemaDecl.cpp | 2229 if (S.Context.hasSameType(OldTD->getUnderlyingType(), in filterNonConflictingPreviousTypedefDecls() 2268 !Context.hasSameType(OldType, NewType)) { in isIncompatibleTypedef() 3949 assert(!S.Context.hasSameType(New->getType(), Old->getType())); in diagnoseVarDeclTypeMismatch() 3981 } else if (Context.hasSameType(New->getType(), Old->getType())) { in MergeVarDeclTypes() 4004 if (!Context.hasSameType(New->getType(), PrevVDTy)) in MergeVarDeclTypes() 4010 if (Context.hasSameType(OldArray->getElementType(), in MergeVarDeclTypes() 4018 if (Context.hasSameType(OldArray->getElementType(), in MergeVarDeclTypes() 4557 if (!Context.hasSameType(NewTD->getUnderlyingType(), in setTagNameForLinkagePurposes() 5751 !Context.hasSameType(Name.getCXXNameType(), in diagnoseQualifiedDeclaration() 11195 if (Context.hasSameType(FT->getReturnType(), Context.IntTy)) in CheckMain() [all …]
|
| H A D | SemaTemplate.cpp | 6867 ? !Context.hasSameType(ParamType.getNonReferenceType(), in CheckTemplateArgument() 7153 if (Context.hasSameType(ParamType, ArgType)) { in CheckTemplateArgument() 7560 if (!Context.hasSameType(RefExpr.get()->getType(), DestExprType)) { in BuildExpressionFromDeclTemplateArgument() 7705 if (!S.Context.hasSameType(OldNTTP->getType(), NewNTTP->getType())) { in MatchTemplateParameterKind() 8405 if (Context.hasSameType(CanonType, in ActOnClassTemplateSpecialization() 9212 if (Context.hasSameType(Adjusted, Method->getType())) { in CheckMemberSpecialization() 10128 if (PrevTemplate && Prev && !Context.hasSameType(Prev->getType(), R)) { in ActOnExplicitInstantiation()
|
| H A D | SemaDeclObjC.cpp | 240 if (!Context.hasSameType(method->getReturnType(), Context.VoidTy)) { in CheckARCMethodDecl() 915 if (S.Context.hasSameType(prevTypeParam->getUnderlyingType(), in checkTypeParamListConsistency() 2186 if (!Context.hasSameType(ImplIvar->getType(), ClsIvar->getType())) { in CheckImplementationIvars()
|
| H A D | SemaLambda.cpp | 678 if (S.Context.hasSameType(retValue->getType(), returnType)) in adjustBlockReturnsToEnum()
|
| H A D | SemaChecking.cpp | 1137 !S.Context.hasSameType( in checkOpenCLPipePacketType() 2601 if (!Context.hasSameType(VectorEltTy, EltTy)) { in isEltOfVectorTy() 6453 if (!Context.hasSameType(Real->getType(), Imag->getType())) { in SemaBuiltinComplex() 9693 else if (Context.hasSameType(ParamType, ArgType)) { in getBestAbsFunction() 15849 C.hasSameType(ED1->getIntegerType(), ED2->getIntegerType()); in isLayoutCompatible() 15964 if (C.hasSameType(T1, T2)) in isLayoutCompatible() 16227 mismatch = !Context.hasSameType(ArgumentType, RequiredType); in CheckArgumentWithTypeTag() 16631 !Context.hasSameType(ElementTy, MatrixTy->getElementType())) { in SemaBuiltinMatrixColumnMajorStore()
|
| H A D | SemaOpenMP.cpp | 8205 if (!SemaRef.Context.hasSameType(Diff.get()->getType(), Type)) { in buildNumIterations() 8223 if (!SemaRef.Context.hasSameType(Diff.get()->getType(), NewType)) { in buildNumIterations() 8292 !SemaRef.Context.hasSameType( in buildMinMaxValues() 8323 if (SemaRef.Context.hasSameType(Diff.get()->getType(), VarType)) in buildMinMaxValues() 8742 if (!SemaRef.Context.hasSameType(NewStart.get()->getType(), in buildCounterInit() 8818 if (!SemaRef.Context.hasSameType(Update.get()->getType(), in buildCounterUpdate() 9406 if (!SemaRef.Context.hasSameType(UB.get()->getType(), in checkOpenMPLoop() 14317 if (!S.getASTContext().hasSameType(OMPAllocatorHandleT, AllocatorType)) { in findOMPAllocatorHandleT() 15251 if (!SemaRef.Context.hasSameType(InteropType, VarType)) { in isValidInteropVariable() 16513 SemaRef.Context.hasSameType(D->getType(), Ty)) in buildDeclareReductionRef() [all …]
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGExprAgg.cpp | 409 !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() 1008 assert(CGF.getContext().hasSameType(E->getLHS()->getType(), in VisitBinCmp()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Serialization/ |
| H A D | ASTReaderDecl.cpp | 2952 TX->getASTContext().hasSameType(TX->getType(), TY->getType()); in isSameTemplateParameter() 3090 return X->getASTContext().hasSameType(TypedefX->getUnderlyingType(), in isSameEntity() 3168 if (!C.hasSameType(XT, YT)) { in isSameEntity() 3191 if (C.hasSameType(VarX->getType(), VarY->getType())) in isSameEntity() 3204 return C.hasSameType(VarXTy->getElementType(), VarYTy->getElementType()); in isSameEntity() 3230 return X->getASTContext().hasSameType(FDX->getType(), FDY->getType()); in isSameEntity()
|
| /freebsd-13.1/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | ASTContext.h | 2448 bool hasSameType(QualType T1, QualType T2) const { in hasSameType() function 2451 bool hasSameType(const Type *T1, const Type *T2) const { in hasSameType() function
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Edit/ |
| H A D | RewriteObjCFoundationAPI.cpp | 831 if (Ctx.hasSameType(ArgTy, CallTy)) { in rewriteToNumberLiteral()
|