| /openbsd-src/gnu/llvm/clang/lib/AST/ |
| H A D | ASTDiagnostic.cpp | 1152 if (Context.hasSameType(FromType, ToType)) in OnlyPerformTypeDiff() 1180 Context.hasSameType(FromType, ToType)); in DiffTypes() 1229 Context.hasSameType(ArgType->getPointeeType(), VDType)) in InitializeNonTypeDiffVariables() 1259 Context.hasSameType(ArgType->getPointeeType(), VDType)) in InitializeNonTypeDiffVariables() 1323 Tree.SetSame(Context.hasSameType(FromIntType, ToIntType) && in DiffNonTypes() 1816 !Context.hasSameType(FromIntType, ToIntType); in PrintAPSInt()
|
| H A D | ASTContext.cpp | 3221 return hasSameType(T, U) || in hasSameFunctionTypeIgnoringExceptionSpec() 3223 hasSameType(getFunctionTypeWithExceptionSpec(T, EST_None), in hasSameFunctionTypeIgnoringExceptionSpec() 3245 return hasSameType(T, U) || in hasSameFunctionTypeIgnoringPtrSizes() 3246 hasSameType(getFunctionTypeWithoutPtrSizes(T), in hasSameFunctionTypeIgnoringPtrSizes() 4678 assert(hasSameType(Decl->getUnderlyingType(), Underlying)); in getTypedefType() 6137 if (hasSameType(T1, T2)) in hasSimilarType() 6155 if (hasSameType(T1, T2)) in hasCvrSimilarType() 6339 TX->getASTContext().hasSameType(TX->getType(), TY->getType()) && in isSameTemplateParameter() 6375 return hasSameType(TTPX->getDefaultArgument(), TTPY->getDefaultArgument()); in isSameDefaultTemplateArgument() 6527 return hasSameType(TypedefX->getUnderlyingType(), in isSameEntity() [all …]
|
| H A D | ODRDiagsEmitter.cpp | 186 assert(Context.hasSameType(FirstField->getType(), SecondField->getType())); in diagnoseSubMismatchField() 1702 assert(Context.hasSameType(FirstParam->getType(), SecondParam->getType()) && in diagnoseMismatch()
|
| H A D | ASTStructuralEquivalence.cpp | 2174 if (Context.hasSameType(F->getType(), AnonTy)) in findUntaggedStructOrUnionIndex() 2190 if (Context.hasSameType(FieldType, AnonTy)) in findUntaggedStructOrUnionIndex()
|
| H A D | TypePrinter.cpp | 1946 if (Ctx.hasSameType(T, Pattern)) in isSubstitutedType() 1955 return Ctx.hasSameType(SubstArg, T); in isSubstitutedType()
|
| H A D | DeclTemplate.cpp | 594 if (Context.hasSameType(P.getInjectedSpecializationType(), T)) in findPartialSpecialization()
|
| /openbsd-src/gnu/llvm/clang/lib/Sema/ |
| H A D | SemaTemplateDeduction.cpp | 230 if (YType.isNull() || !Context.hasSameType(XType, YType)) in checkDeducedTemplateArguments() 242 if (Y.getKind() == TemplateArgument::Type && Context.hasSameType(TX, TY)) in checkDeducedTemplateArguments() 1183 return Context.hasSameType(P, A); in isSameOrCompatibleFunctionType() 1188 return Context.hasSameType(AdjustedParam, A); in isSameOrCompatibleFunctionType() 1192 return Context.hasSameType(P, A); in isSameOrCompatibleFunctionType() 1592 : S.Context.hasSameType(P, A)) in DeduceTemplateArgumentsByTypeMatch() 1633 : S.Context.hasSameType(P, A)) in DeduceTemplateArgumentsByTypeMatch() 2267 S.Context.hasSameType(P.getNullPtrType(), A.getNullPtrType())) in DeduceTemplateArguments() 2476 return Context.hasSameType(X.getNullPtrType(), Y.getNullPtrType()); in isSameTemplateArg() 4394 !Context.hasSameType(SpecializationType, ArgFunctionType)) in DeduceTemplateArguments() [all …]
|
| H A D | SemaExprCXX.cpp | 620 if (!Context.hasSameType(T, UnqualT)) { in BuildCXXTypeId() 2851 if (Context.hasSameType(adjustCCAndNoReturn(Fn->getType(), in FindAllocationFunctions() 4303 if (Context.hasSameType(FromType, Context.OverloadTy)) { in PerformImplicitConversion() 4756 assert(Context.hasSameType( in PerformImplicitConversion() 5656 return Self.Context.hasSameType(LhsT, RhsT); in EvaluateBinaryTypeTrait() 6308 if (!Context.hasSameType(LHSType, RHSType)) { in CheckVectorConditionalTypes() 6327 Context.hasSameType(LHSType, RHSType) in CheckVectorConditionalTypes() 6395 if (!Context.hasSameType(LHSType, RHSType)) { in CheckSizelessVectorConditionalTypes() 6412 if (Context.hasSameType(LHSType, RHSType)) in CheckSizelessVectorConditionalTypes() 6570 if (!Context.hasSameType(LTy, RTy) && in CXXCheckConditionalOperands() [all …]
|
| H A D | SemaCXXScopeSpec.cpp | 110 if (Context.hasSameType(Injected, ContextType)) in computeDeclContext() 698 !Context.hasSameType( in BuildCXXNestedNameSpecifier()
|
| H A D | SemaDeclCXX.cpp | 1362 else if (!S.Context.hasSameType(P.back().Base->getType(), in findDecomposableBaseClass() 1583 assert(Context.hasSameType(New->getType(), Old->getType()) && in MergeVarDeclExceptionSpecs() 7533 if (!Context.hasSameType(ReturnType, ExpectedReturnType)) { in CheckExplicitlyDefaultedSpecialMember() 8522 if (E->isPRValue() && S.Context.hasSameType(E->getType(), R)) in buildStaticCastToR() 8639 if (!RD->isDependentType() && !Context.hasSameType(CTy, ExpectedTy)) in CheckExplicitlyDefaultedComparison() 8669 } else if (!Context.hasSameType(KnownParm->getType(), ParmTy)) { in CheckExplicitlyDefaultedComparison() 8706 !Context.hasSameType(FD->getDeclaredReturnType(), Context.BoolTy)) { in CheckExplicitlyDefaultedComparison() 8718 (!Context.hasSameType(RT, Context.getAutoDeductType()) || in CheckExplicitlyDefaultedComparison() 11976 return Context.hasSameType(TD1->getUnderlyingType(), in IsEquivalentForUsingDecl() 12323 !Ctx.hasSameType(QualType(Specifier->getAsType(), 0), FoundType)) in ValidateCandidate() [all …]
|
| H A D | SemaOverload.cpp | 1296 bool SameReturnType = Context.hasSameType(Old->getDeclaredReturnType(), in IsOverload() 2877 if (Context.hasSameType(FromPointeeType, ToPointeeType)) in IsBlockPointerConversion() 2892 if (Context.hasSameType(FromFunctionType->getReturnType(), in IsBlockPointerConversion() 2902 if (Context.hasSameType(RHS,LHS)) { in IsBlockPointerConversion() 2920 if (Context.hasSameType(FromArgType, ToArgType)) { in IsBlockPointerConversion() 2980 if (!Context.hasSameType(FromMember->getClass(), ToMember->getClass())) { in HandleFunctionTypeMismatch() 3006 if (Context.hasSameType(FromType, ToType)) { in HandleFunctionTypeMismatch() 3036 if (!Context.hasSameType(FromFunction->getReturnType(), in HandleFunctionTypeMismatch() 3085 if (!Context.hasSameType(Old, New)) { in FunctionParamTypesAreEqual() 4025 return Context.hasSameType(SCS1.getToType(2), SCS2.getToType(2))? Result in compareStandardConversionSubsets() [all …]
|
| H A D | SemaCast.cpp | 1094 if (Self.Context.hasSameType(SrcFTy, DstFTy)) in checkCastFunctionType() 2056 if (Self.Context.hasSameType(SrcType, DestType)) in DiagnoseCastOfObjCSEL() 2077 if (Self.Context.hasSameType(SrcType, DstType) || in DiagnoseCallingConvCast() 2591 if (Self.Context.hasSameType(SrcPointeeTypeWithoutAS, in TryAddressSpaceCast()
|
| H A D | SemaExpr.cpp | 1553 if (Context.hasSameType(LHSType, RHSType)) in UsualArithmeticConversions() 1572 if (Context.hasSameType(LHSType, RHSType)) in UsualArithmeticConversions() 7840 if (Context.hasSameType(ET, DestTy)) in PrepareScalarCast() 7874 if (Context.hasSameType(ET, DestTy)) in PrepareScalarCast() 8429 if (S.Context.hasSameType(LHSTy, RHSTy)) { in checkConditionalPointerCompatibility() 8973 if (LHSTy->isNullPtrType() && Context.hasSameType(LHSTy, RHSTy)) in CheckConditionalOperands() 9011 if (LHSTy->isSizelessBuiltinType() && Context.hasSameType(LHSTy, RHSTy)) in CheckConditionalOperands() 9038 (Context.hasSameType(RHSTy, Context.getObjCClassRedefinitionType()))) { in FindCompositeObjCPointerType() 9043 (Context.hasSameType(LHSTy, Context.getObjCClassRedefinitionType()))) { in FindCompositeObjCPointerType() 9049 (Context.hasSameType(RHSTy, Context.getObjCIdRedefinitionType()))) { in FindCompositeObjCPointerType() [all …]
|
| H A D | SemaInit.cpp | 1377 assert(SemaRef.Context.hasSameType(expr->getType(), ElemType) && in CheckSubElementType() 4221 if (!S.Context.hasSameType(ConvType, DestType)) in TryConstructorInitialization() 4784 if (!S.Context.hasSameType(cv1T4, cv1T1)) in TryRefInitWithConversionFunction() 5039 if (!S.Context.hasSameType(cv1T4, cv1T1)) in TryReferenceInitializationCore() 5697 else if (!S.Context.hasSameType(ConvType, DestType)) in TryUserDefinedConversion() 5824 if (Context.hasSameType(QualType(Dest, 0), QualType(Source, 0))) in hasCompatibleArrayTypes() 5828 if (!Context.hasSameType(Dest->getElementType(), Source->getElementType())) in hasCompatibleArrayTypes() 7401 if (Ctx.hasSameType(RetT, LHST)) in implicitObjectParamIsLifetimeBound() 8666 S.Context.hasSameType( in Perform() 8868 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 | SemaDecl.cpp | 2504 if (S.Context.hasSameType(OldTD->getUnderlyingType(), in filterNonConflictingPreviousTypedefDecls() 2543 !Context.hasSameType(OldType, NewType)) { in isIncompatibleTypedef() 3912 if (!Context.hasSameType(OldDeclaredReturnType, NewDeclaredReturnType) && in MergeFunctionDecl() 4365 assert(!S.Context.hasSameType(New->getType(), Old->getType())); in diagnoseVarDeclTypeMismatch() 4397 } else if (Context.hasSameType(New->getType(), Old->getType())) { in MergeVarDeclTypes() 4420 if (!Context.hasSameType(New->getType(), PrevVDTy)) in MergeVarDeclTypes() 4426 if (Context.hasSameType(OldArray->getElementType(), in MergeVarDeclTypes() 4434 if (Context.hasSameType(OldArray->getElementType(), in MergeVarDeclTypes() 4975 if (!Context.hasSameType(NewTD->getUnderlyingType(), in setTagNameForLinkagePurposes() 6204 !Context.hasSameType(Name.getCXXNameType(), in diagnoseQualifiedDeclaration() [all …]
|
| H A D | SemaStmtAsm.cpp | 618 if (Context.hasSameType(InTy, OutTy)) in ActOnGCCAsmStmt()
|
| H A D | SemaTemplate.cpp | 7132 ? !Context.hasSameType(ParamType.getNonReferenceType(), in CheckTemplateArgument() 7446 if (Context.hasSameType(ParamType, ArgType)) { in CheckTemplateArgument() 7860 if (!Context.hasSameType(RefExpr.get()->getType(), DestExprType)) { in BuildExpressionFromDeclTemplateArgument() 8006 if (!S.Context.hasSameType(OldNTTP->getType(), NewNTTP->getType())) { in MatchTemplateParameterKind() 8717 if (Context.hasSameType(CanonType, in ActOnClassTemplateSpecialization() 9574 if (Context.hasSameType(Adjusted, Method->getType())) { in CheckMemberSpecialization() 10484 if (PrevTemplate && !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() 2205 if (!Context.hasSameType(ImplIvar->getType(), ClsIvar->getType())) { in CheckImplementationIvars()
|
| H A D | SemaLambda.cpp | 684 if (S.Context.hasSameType(retValue->getType(), returnType)) in adjustBlockReturnsToEnum()
|
| H A D | SemaStmt.cpp | 2965 if (!Context.hasSameType(BeginType, EndType)) { in BuildCXXForRangeStmt() 3002 if (!Context.hasSameType(BeginType, EndType)) in BuildCXXForRangeStmt()
|
| /openbsd-src/gnu/llvm/clang/lib/CodeGen/ |
| H A D | CGExprAgg.cpp | 427 !Ctx.hasSameType(Field->getType()->getPointeeType(), in VisitCXXStdInitializerListExpr() 451 Ctx.hasSameType(Field->getType()->getPointeeType(), in VisitCXXStdInitializerListExpr() 458 } else if (Ctx.hasSameType(Field->getType(), Ctx.getSizeType())) { in VisitCXXStdInitializerListExpr() 1029 assert(CGF.getContext().hasSameType(E->getLHS()->getType(), in VisitBinCmp()
|
| /openbsd-src/gnu/llvm/clang/include/clang/AST/ |
| H A D | ASTContext.h | 2515 bool hasSameType(QualType T1, QualType T2) const { in hasSameType() function 2518 bool hasSameType(const Type *T1, const Type *T2) const { in hasSameType() function
|
| /openbsd-src/gnu/llvm/clang/lib/Edit/ |
| H A D | RewriteObjCFoundationAPI.cpp | 832 if (Ctx.hasSameType(ArgTy, CallTy)) { in rewriteToNumberLiteral()
|
| /openbsd-src/gnu/llvm/clang/lib/ARCMigrate/ |
| H A D | ObjCMT.cpp | 626 !Ctx.hasSameType(ClassProperty->getType(), Property->getType())) in ClassImplementsAllMethodsAndProperties()
|