| /netbsd-src/external/apache2/llvm/dist/clang/lib/AST/ |
| H A D | ASTDiagnostic.cpp | 1117 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()
|
| H A D | ASTContext.cpp | 3102 return hasSameType(T, U) || in hasSameFunctionTypeIgnoringExceptionSpec() 3104 hasSameType(getFunctionTypeWithExceptionSpec(T, EST_None), in hasSameFunctionTypeIgnoringExceptionSpec() 3126 return hasSameType(T, U) || in hasSameFunctionTypeIgnoringPtrSizes() 3127 hasSameType(getFunctionTypeWithoutPtrSizes(T), in hasSameFunctionTypeIgnoringPtrSizes() 5850 if (hasSameType(T1, T2)) in hasSimilarType() 5868 if (hasSameType(T1, T2)) in hasCvrSimilarType() 8642 hasSameType(First->getElementType(), Second->getElementType()) && in areCompatibleVectorTypes() 8674 hasSameType(VT->getElementType(), in areCompatibleSveTypes() 9125 if (ctx.hasSameType(lhsArgs[i], rhsArgs[i])) in sameObjCTypeArgs() 9131 !ctx.hasSameType(lhsArgs[i].stripObjCKindOfType(ctx), in sameObjCTypeArgs() [all …]
|
| H A D | ASTStructuralEquivalence.cpp | 1920 if (Context.hasSameType(F->getType(), AnonTy)) in findUntaggedStructOrUnionIndex() 1936 if (Context.hasSameType(FieldType, AnonTy)) in findUntaggedStructOrUnionIndex()
|
| H A D | TypePrinter.cpp | 1868 if (Ctx.hasSameType(T, Pattern)) in isSubstitutedType() 1877 return Ctx.hasSameType(SubstArg, T); in isSubstitutedType()
|
| H A D | DeclTemplate.cpp | 570 if (Context.hasSameType(P.getInjectedSpecializationType(), T)) in findPartialSpecialization()
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/ |
| H A D | SemaCXXScopeSpec.cpp | 110 if (Context.hasSameType(Injected, ContextType)) in computeDeclContext() 684 !Context.hasSameType( in BuildCXXNestedNameSpecifier()
|
| H A D | SemaExprCXX.cpp | 594 if (!Context.hasSameType(T, UnqualT)) { in BuildCXXTypeId() 2774 if (Context.hasSameType(adjustCCAndNoReturn(Fn->getType(), in FindAllocationFunctions() 4159 if (Context.hasSameType(FromType, Context.OverloadTy)) { in PerformImplicitConversion() 4577 assert(Context.hasSameType( in PerformImplicitConversion() 5383 return Self.Context.hasSameType(LhsT, RhsT); in EvaluateBinaryTypeTrait() 6028 if (!Context.hasSameType(LHSType, RHSType)) { in CheckVectorConditionalTypes() 6046 if (Context.hasSameType(LHSType, RHSType)) in CheckVectorConditionalTypes() 6200 if (!Context.hasSameType(LTy, RTy) && in CXXCheckConditionalOperands() 6244 if (!Context.hasSameType(LTy, RTy) && in CXXCheckConditionalOperands() 6279 bool Same = Context.hasSameType(LTy, RTy); in CXXCheckConditionalOperands() [all …]
|
| H A D | SemaDeclCXX.cpp | 1329 else if (!S.Context.hasSameType(P.back().Base->getType(), in findDecomposableBaseClass() 1551 assert(Context.hasSameType(New->getType(), Old->getType()) && in MergeVarDeclExceptionSpecs() 7368 if (!Context.hasSameType(ReturnType, ExpectedReturnType)) { in CheckExplicitlyDefaultedSpecialMember() 8328 if (E->isRValue() && S.Context.hasSameType(E->getType(), R)) in buildStaticCastToR() 8394 !Context.hasSameType(Param->getType(), ExpectedParmType1) && in CheckExplicitlyDefaultedComparison() 8395 !Context.hasSameType(Param->getType(), ExpectedParmType2)) { in CheckExplicitlyDefaultedComparison() 8408 !Context.hasSameType(FD->getParamDecl(0)->getType(), in CheckExplicitlyDefaultedComparison() 8452 !Context.hasSameType(FD->getDeclaredReturnType(), Context.BoolTy)) { in CheckExplicitlyDefaultedComparison() 8463 !Context.hasSameType(FD->getDeclaredReturnType(), in CheckExplicitlyDefaultedComparison() 11627 return Context.hasSameType(TD1->getUnderlyingType(), in IsEquivalentForUsingDecl() [all …]
|
| H A D | SemaOverload.cpp | 1205 !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 …]
|
| H A D | SemaInit.cpp | 1363 assert(SemaRef.Context.hasSameType(expr->getType(), ElemType) && in CheckSubElementType() 4164 if (!S.Context.hasSameType(ConvType, DestType)) in TryConstructorInitialization() 4727 if (!S.Context.hasSameType(cv1T4, cv1T1)) in TryRefInitWithConversionFunction() 4982 if (!S.Context.hasSameType(cv1T4, cv1T1)) in TryReferenceInitializationCore() 5390 else if (!S.Context.hasSameType(ConvType, DestType)) in TryUserDefinedConversion() 5517 if (Context.hasSameType(QualType(Dest, 0), QualType(Source, 0))) in hasCompatibleArrayTypes() 5521 if (!Context.hasSameType(Dest->getElementType(), Source->getElementType())) in hasCompatibleArrayTypes() 7012 if (Ctx.hasSameType(RetT, LHST)) in implicitObjectParamIsLifetimeBound() 8257 S.Context.hasSameType( in Perform() 8459 bool IsTemporary = !S.Context.hasSameType(Entity.getType(), Ty); in Perform()
|
| H A D | SemaCast.cpp | 2028 if (Self.Context.hasSameType(SrcType, DestType)) in DiagnoseCastOfObjCSEL() 2049 if (Self.Context.hasSameType(SrcType, DstType) || in DiagnoseCallingConvCast() 2562 if (Self.Context.hasSameType(SrcPointeeTypeWithoutAS, in TryAddressSpaceCast()
|
| H A D | SemaObjCProperty.cpp | 526 if (!Context.hasSameType(PIDecl->getType(), PDecl->getType())) { in HandlePropertyInClassExtension() 1363 if (!Context.hasSameType(PropertyIvarType, IvarType)) { in ActOnPropertyImplDecl() 1718 bool compat = Context.hasSameType(PropertyRValueType, GetterType); in DiagnosePropertyAccessorMismatch()
|
| H A D | SemaExpr.cpp | 7240 if (Context.hasSameType(ET, DestTy)) in PrepareScalarCast() 7274 if (Context.hasSameType(ET, DestTy)) in PrepareScalarCast() 7814 if (S.Context.hasSameType(LHSTy, RHSTy)) { in checkConditionalPointerCompatibility() 8391 (Context.hasSameType(RHSTy, Context.getObjCClassRedefinitionType()))) { in FindCompositeObjCPointerType() 8396 (Context.hasSameType(LHSTy, Context.getObjCClassRedefinitionType()))) { in FindCompositeObjCPointerType() 8402 (Context.hasSameType(RHSTy, Context.getObjCIdRedefinitionType()))) { in FindCompositeObjCPointerType() 8407 (Context.hasSameType(LHSTy, Context.getObjCIdRedefinitionType()))) { in FindCompositeObjCPointerType() 8413 (Context.hasSameType(RHSTy, Context.getObjCSelRedefinitionType()))) { in FindCompositeObjCPointerType() 8418 (Context.hasSameType(LHSTy, Context.getObjCSelRedefinitionType()))) { in FindCompositeObjCPointerType() 8761 && Context.hasSameType(commonExpr->getType(), RHSExpr->getType()))) { in ActOnConditionalOp() [all …]
|
| 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 | SemaDecl.cpp | 2177 if (S.Context.hasSameType(OldTD->getUnderlyingType(), in filterNonConflictingPreviousTypedefDecls() 2216 !Context.hasSameType(OldType, NewType)) { in isIncompatibleTypedef() 3502 if (!Context.hasSameType(OldDeclaredReturnType, NewDeclaredReturnType) && in MergeFunctionDecl() 3886 assert(!S.Context.hasSameType(New->getType(), Old->getType())); in diagnoseVarDeclTypeMismatch() 3918 } else if (Context.hasSameType(New->getType(), Old->getType())) { in MergeVarDeclTypes() 3941 if (!Context.hasSameType(New->getType(), PrevVDTy)) in MergeVarDeclTypes() 3947 if (Context.hasSameType(OldArray->getElementType(), in MergeVarDeclTypes() 3955 if (Context.hasSameType(OldArray->getElementType(), in MergeVarDeclTypes() 4494 if (!Context.hasSameType(NewTD->getUnderlyingType(), in setTagNameForLinkagePurposes() 5688 !Context.hasSameType(Name.getCXXNameType(), in diagnoseQualifiedDeclaration() [all …]
|
| H A D | SemaStmtAsm.cpp | 611 if (Context.hasSameType(InTy, OutTy)) in ActOnGCCAsmStmt()
|
| H A D | SemaTemplate.cpp | 6868 ? !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 | SemaChecking.cpp | 1137 !S.Context.hasSameType( in checkOpenCLPipePacketType() 2597 if (!Context.hasSameType(VectorEltTy, EltTy)) { in isEltOfVectorTy() 6204 if (!Context.hasSameType(Real->getType(), Imag->getType())) { in SemaBuiltinComplex() 9421 else if (Context.hasSameType(ParamType, ArgType)) { in getBestAbsFunction() 15508 C.hasSameType(ED1->getIntegerType(), ED2->getIntegerType()); in isLayoutCompatible() 15623 if (C.hasSameType(T1, T2)) in isLayoutCompatible() 15886 mismatch = !Context.hasSameType(ArgumentType, RequiredType); in CheckArgumentWithTypeTag() 16290 !Context.hasSameType(ElementTy, MatrixTy->getElementType())) { in SemaBuiltinMatrixColumnMajorStore()
|
| H A D | SemaLambda.cpp | 674 if (S.Context.hasSameType(retValue->getType(), returnType)) in adjustBlockReturnsToEnum()
|
| H A D | SemaOpenMP.cpp | 8199 if (!SemaRef.Context.hasSameType(Diff.get()->getType(), Type)) { in buildNumIterations() 8217 if (!SemaRef.Context.hasSameType(Diff.get()->getType(), NewType)) { in buildNumIterations() 8286 !SemaRef.Context.hasSameType( in buildMinMaxValues() 8317 if (SemaRef.Context.hasSameType(Diff.get()->getType(), VarType)) in buildMinMaxValues() 8736 if (!SemaRef.Context.hasSameType(NewStart.get()->getType(), in buildCounterInit() 8812 if (!SemaRef.Context.hasSameType(Update.get()->getType(), in buildCounterUpdate() 13963 if (!S.getASTContext().hasSameType(OMPAllocatorHandleT, AllocatorType)) { in findOMPAllocatorHandleT() 14868 if (!SemaRef.Context.hasSameType(InteropType, VarType)) { in isValidInteropVariable() 16130 SemaRef.Context.hasSameType(D->getType(), Ty)) in buildDeclareReductionRef() 18868 SemaRef.Context.hasSameType(D->getType(), Type)) in buildUserDefinedMapperRef()
|
| /netbsd-src/external/apache2/llvm/dist/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() 1004 assert(CGF.getContext().hasSameType(E->getLHS()->getType(), in VisitBinCmp()
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/Serialization/ |
| H A D | ASTReaderDecl.cpp | 2934 TX->getASTContext().hasSameType(TX->getType(), TY->getType()); in isSameTemplateParameter() 3072 return X->getASTContext().hasSameType(TypedefX->getUnderlyingType(), in isSameEntity() 3150 if (!C.hasSameType(XT, YT)) { in isSameEntity() 3173 if (C.hasSameType(VarX->getType(), VarY->getType())) in isSameEntity() 3186 return C.hasSameType(VarXTy->getElementType(), VarYTy->getElementType()); in isSameEntity() 3212 return X->getASTContext().hasSameType(FDX->getType(), FDY->getType()); in isSameEntity()
|
| /netbsd-src/external/apache2/llvm/dist/clang/include/clang/AST/ |
| H A D | ASTContext.h | 2397 bool hasSameType(QualType T1, QualType T2) const { in hasSameType() function 2400 bool hasSameType(const Type *T1, const Type *T2) const { in hasSameType() function
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/Edit/ |
| H A D | RewriteObjCFoundationAPI.cpp | 831 if (Ctx.hasSameType(ArgTy, CallTy)) { in rewriteToNumberLiteral()
|