| /freebsd-12.1/contrib/llvm/tools/clang/lib/AST/ |
| H A D | ASTDiagnostic.cpp | 1100 if (Context.hasSameType(FromType, ToType)) in OnlyPerformTypeDiff() 1128 Context.hasSameType(FromType, ToType)); in DiffTypes() 1177 Context.hasSameType(ArgType->getPointeeType(), VDType)) in InitializeNonTypeDiffVariables() 1207 Context.hasSameType(ArgType->getPointeeType(), VDType)) in InitializeNonTypeDiffVariables() 1271 Tree.SetSame(Context.hasSameType(FromIntType, ToIntType) && in DiffNonTypes() 1747 !Context.hasSameType(FromIntType, ToIntType); in PrintAPSInt()
|
| H A D | ASTContext.cpp | 2783 return hasSameType(T, U) || in hasSameFunctionTypeIgnoringExceptionSpec() 2785 hasSameType(getFunctionTypeWithExceptionSpec(T, EST_None), in hasSameFunctionTypeIgnoringExceptionSpec() 5179 if (hasSameType(T1, T2)) in hasSimilarType() 5197 if (hasSameType(T1, T2)) in hasCvrSimilarType() 7827 hasSameType(First->getElementType(), Second->getElementType()) && in areCompatibleVectorTypes() 8206 if (ctx.hasSameType(lhsArgs[i], rhsArgs[i])) in sameObjCTypeArgs() 8212 !ctx.hasSameType(lhsArgs[i].stripObjCKindOfType(ctx), in sameObjCTypeArgs() 8443 return hasSameType(LHS, RHS); in typesAreCompatible() 8685 if (Context.hasSameType(underlyingType, other)) in mergeEnumWithInteger() 9925 if (CurFD && hasSameType(CurFD->getType(), FD->getType()) && in forEachMultiversionedFunctionVersion() [all …]
|
| H A D | ASTStructuralEquivalence.cpp | 1461 if (Context.hasSameType(F->getType(), AnonTy)) in findUntaggedStructOrUnionIndex() 1477 if (Context.hasSameType(FieldType, AnonTy)) in findUntaggedStructOrUnionIndex()
|
| H A D | DeclTemplate.cpp | 440 if (Context.hasSameType(P.getInjectedSpecializationType(), T)) in findPartialSpecialization()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/ |
| H A D | SemaCXXScopeSpec.cpp | 111 if (Context.hasSameType(Injected, ContextType)) in computeDeclContext() 680 !Context.hasSameType( in BuildCXXNestedNameSpecifier()
|
| H A D | SemaOverload.cpp | 1138 !Context.hasSameType(Old->getDeclaredReturnType(), in IsOverload() 1690 assert(S.Context.hasSameType( in IsStandardConversion() 2716 if (Context.hasSameType(RHS,LHS)) { in IsBlockPointerConversion() 2734 if (Context.hasSameType(FromArgType, ToArgType)) { in IsBlockPointerConversion() 2820 if (Context.hasSameType(FromType, ToType)) { in HandleFunctionTypeMismatch() 2850 if (!Context.hasSameType(FromFunction->getReturnType(), in HandleFunctionTypeMismatch() 2888 if (!Context.hasSameType(O->getUnqualifiedType(), in FunctionParamTypesAreEqual() 4192 if (S.Context.hasSameType(FromType1, FromType2) && in CompareDerivedToBaseConversions() 5288 if (!Context.hasSameType(From->getType(), DestType)) { in PerformObjectArgumentInitialization() 9327 if (Context.hasSameType(VA->getType(), VB->getType())) in isEquivalentInternalLinkageDeclaration() [all …]
|
| H A D | SemaDeclCXX.cpp | 1259 else if (!S.Context.hasSameType(P.back().Base->getType(), in findDecomposableBaseClass() 1469 assert(Context.hasSameType(New->getType(), Old->getType()) && in MergeVarDeclExceptionSpecs() 9546 return Context.hasSameType(TD1->getUnderlyingType(), in IsEquivalentForUsingDecl() 10590 !Context.hasSameType(OldTD->getUnderlyingType(), in ActOnAliasDeclaration() 13518 Context.hasSameType(ParamType, Context.CharTy) || in CheckLiteralOperatorDeclaration() 13520 Context.hasSameType(ParamType, Context.Char8Ty) || in CheckLiteralOperatorDeclaration() 13521 Context.hasSameType(ParamType, Context.Char16Ty) || in CheckLiteralOperatorDeclaration() 13522 Context.hasSameType(ParamType, Context.Char32Ty)) { in CheckLiteralOperatorDeclaration() 13584 if (!(Context.hasSameType(InnerType, Context.CharTy) || in CheckLiteralOperatorDeclaration() 13586 Context.hasSameType(InnerType, Context.Char8Ty) || in CheckLiteralOperatorDeclaration() [all …]
|
| H A D | SemaExprCXX.cpp | 507 if (!Context.hasSameType(T, UnqualT)) { in BuildCXXTypeId() 2555 if (Context.hasSameType(adjustCCAndNoReturn(Fn->getType(), in FindAllocationFunctions() 3932 if (Context.hasSameType(FromType, Context.OverloadTy)) { in PerformImplicitConversion() 4324 assert(Context.hasSameType( in PerformImplicitConversion() 5114 return Self.Context.hasSameType(LhsT, RhsT); in EvaluateBinaryTypeTrait() 5791 if (!Context.hasSameType(LTy, RTy) && in CXXCheckConditionalOperands() 5832 if (!Context.hasSameType(LTy, RTy) && in CXXCheckConditionalOperands() 5865 bool Same = Context.hasSameType(LTy, RTy); in CXXCheckConditionalOperands() 5884 assert(Context.hasSameType(LTy, RTy) && "bad composite pointer type"); in CXXCheckConditionalOperands() 6313 if (C1.Viable && Context.hasSameType(Composite1, Composite2)) { in FindCompositePointerType()
|
| H A D | SemaObjCProperty.cpp | 533 if (!Context.hasSameType(PIDecl->getType(), PDecl->getType())) { in HandlePropertyInClassExtension() 1335 if (!Context.hasSameType(PropertyIvarType, IvarType)) { in ActOnPropertyImplDecl() 1663 bool compat = Context.hasSameType(PropertyRValueType, GetterType); in DiagnosePropertyAccessorMismatch()
|
| H A D | SemaTemplateDeduction.cpp | 232 if (YType.isNull() || !Context.hasSameType(XType, YType)) in checkDeducedTemplateArguments() 244 Context.hasSameType(X.getAsType(), Y.getAsType())) in checkDeducedTemplateArguments() 2167 S.Context.hasSameType(Param.getNullPtrType(), Arg.getNullPtrType())) in DeduceTemplateArguments() 2394 return Context.hasSameType(X.getNullPtrType(), Y.getNullPtrType()); in isSameTemplateArg() 4124 !Context.hasSameType(SpecializationType, ArgFunctionType)) in DeduceTemplateArguments()
|
| H A D | SemaDecl.cpp | 2050 if (S.Context.hasSameType(OldTD->getUnderlyingType(), in filterNonConflictingPreviousTypedefDecls() 2089 !Context.hasSameType(OldType, NewType)) { in isIncompatibleTypedef() 3635 assert(!S.Context.hasSameType(New->getType(), Old->getType())); in diagnoseVarDeclTypeMismatch() 3690 if (!Context.hasSameType(NewArray, PrevVDTy)) in MergeVarDeclTypes() 3696 if (Context.hasSameType(OldArray->getElementType(), in MergeVarDeclTypes() 3704 if (Context.hasSameType(OldArray->getElementType(), in MergeVarDeclTypes() 4157 if (!Context.hasSameType(NewTD->getUnderlyingType(), in setTagNameForLinkagePurposes() 5085 if (Context.hasSameType(DefParamTy, DeclParamTy)) in hasSimilarParameters() 5291 !Context.hasSameType(Name.getCXXNameType(), in diagnoseQualifiedDeclaration() 10342 if (Context.hasSameType(FT->getReturnType(), Context.IntTy)) in CheckMain() [all …]
|
| H A D | SemaStmtAsm.cpp | 569 if (Context.hasSameType(InTy, OutTy)) in ActOnGCCAsmStmt()
|
| H A D | SemaExpr.cpp | 6129 if (Context.hasSameType(ET, DestTy)) in PrepareScalarCast() 6163 if (Context.hasSameType(ET, DestTy)) in PrepareScalarCast() 6619 if (S.Context.hasSameType(LHSTy, RHSTy)) { in checkConditionalPointerCompatibility() 7176 (Context.hasSameType(RHSTy, Context.getObjCIdRedefinitionType()))) { in FindCompositeObjCPointerType() 7181 (Context.hasSameType(LHSTy, Context.getObjCIdRedefinitionType()))) { in FindCompositeObjCPointerType() 7187 (Context.hasSameType(RHSTy, Context.getObjCSelRedefinitionType()))) { in FindCompositeObjCPointerType() 7974 Context.hasSameType(LHSType, in CheckAssignmentConstraints() 8068 Context.hasSameType(RHSType, in CheckAssignmentConstraints() 8699 if (Context.hasSameType(LHSType, RHSType)) in CheckVectorOperands() 13830 if (Context.hasSameType(MSVaListType, E->getType())) { in BuildVAArgExpr() [all …]
|
| H A D | SemaCast.cpp | 1826 if (Self.Context.hasSameType(SrcType, DestType)) in DiagnoseCastOfObjCSEL() 1847 if (Self.Context.hasSameType(SrcType, DstType) || in DiagnoseCallingConvCast()
|
| H A D | SemaTemplate.cpp | 6217 !Context.hasSameType(ParamType.getNonLValueExprType(Context), in CheckTemplateArgument() 6453 if (Context.hasSameType(ParamType, ArgType)) { in CheckTemplateArgument() 6816 Context.hasSameType(((Expr*) RefExpr.get())->getType(), in BuildExpressionFromDeclTemplateArgument() 6985 if (!S.Context.hasSameType(OldNTTP->getType(), NewNTTP->getType())) { in MatchTemplateParameterKind() 7618 if (Context.hasSameType(CanonType, in ActOnClassTemplateSpecialization() 8367 if (Context.hasSameType(Adjusted, Method->getType())) { in CheckMemberSpecialization() 9234 if (PrevTemplate && Prev && !Context.hasSameType(Prev->getType(), R)) { in ActOnExplicitInstantiation()
|
| H A D | SemaInit.cpp | 1250 assert(SemaRef.Context.hasSameType(expr->getType(), ElemType) && in CheckSubElementType() 3938 if (!S.Context.hasSameType(ConvType, DestType)) in TryConstructorInitialization() 5071 else if (!S.Context.hasSameType(ConvType, DestType)) in TryUserDefinedConversion() 5198 if (Context.hasSameType(QualType(Dest, 0), QualType(Source, 0))) in hasCompatibleArrayTypes() 5202 if (!Context.hasSameType(Dest->getElementType(), Source->getElementType())) in hasCompatibleArrayTypes() 7744 bool IsTemporary = !S.Context.hasSameType(Entity.getType(), Ty); in Perform()
|
| H A D | SemaDeclObjC.cpp | 240 if (!Context.hasSameType(method->getReturnType(), Context.VoidTy)) { in CheckARCMethodDecl() 911 if (S.Context.hasSameType(prevTypeParam->getUnderlyingType(), in checkTypeParamListConsistency() 2162 if (!Context.hasSameType(ImplIvar->getType(), ClsIvar->getType())) { in CheckImplementationIvars()
|
| H A D | SemaLambda.cpp | 631 if (S.Context.hasSameType(retValue->getType(), returnType)) in adjustBlockReturnsToEnum()
|
| H A D | SemaStmt.cpp | 2565 if (!Context.hasSameType(BeginType, EndType)) { in BuildCXXForRangeStmt() 2601 if (!Context.hasSameType(BeginType, EndType)) in BuildCXXForRangeStmt()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/ |
| H A D | CGExprAgg.cpp | 402 !Ctx.hasSameType(Field->getType()->getPointeeType(), in VisitCXXStdInitializerListExpr() 426 Ctx.hasSameType(Field->getType()->getPointeeType(), in VisitCXXStdInitializerListExpr() 433 } else if (Ctx.hasSameType(Field->getType(), Ctx.getSizeType())) { in VisitCXXStdInitializerListExpr() 950 assert(CGF.getContext().hasSameType(E->getLHS()->getType(), in VisitBinCmp()
|
| H A D | CGExprCXX.cpp | 1338 if (Ctx.hasSameType(FD->getType(), QualType(Type, 0))) in EmitBuiltinNewDeleteCall()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Serialization/ |
| H A D | ASTReaderDecl.cpp | 2837 TX->getASTContext().hasSameType(TX->getType(), TY->getType()); in isSameTemplateParameter() 2961 return X->getASTContext().hasSameType(TypedefX->getUnderlyingType(), in isSameEntity() 3026 if (!C.hasSameType(XT, YT)) { in isSameEntity() 3048 if (C.hasSameType(VarX->getType(), VarY->getType())) in isSameEntity() 3061 return C.hasSameType(VarXTy->getElementType(), VarYTy->getElementType()); in isSameEntity() 3086 return X->getASTContext().hasSameType(FDX->getType(), FDY->getType()); in isSameEntity()
|
| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/AST/ |
| H A D | ASTContext.h | 2269 bool hasSameType(QualType T1, QualType T2) const { in hasSameType() function 2272 bool hasSameType(const Type *T1, const Type *T2) const { in hasSameType() function
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Edit/ |
| H A D | RewriteObjCFoundationAPI.cpp | 832 if (Ctx.hasSameType(ArgTy, CallTy)) { in rewriteToNumberLiteral()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/ARCMigrate/ |
| H A D | ObjCMT.cpp | 625 !Ctx.hasSameType(ClassProperty->getType(), Property->getType())) in ClassImplementsAllMethodsAndProperties()
|