Home
last modified time | relevance | path

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

12

/NextBSD/contrib/llvm/tools/clang/lib/Sema/
HDSemaCXXScopeSpec.cpp112 if (Context.hasSameType(Injected, ContextType)) in computeDeclContext()
647 !Context.hasSameType( in BuildCXXNestedNameSpecifier()
HDSemaDeclCXX.cpp679 assert(Context.hasSameType(New->getType(), Old->getType()) && in MergeVarDeclExceptionSpecs()
5272 if (!Context.hasSameType(ReturnType, ExpectedReturnType)) { in CheckExplicitlyDefaultedSpecialMember()
7727 return Context.hasSameType(TD1->getUnderlyingType(), in IsEquivalentForUsingDecl()
7999 !Ctx.hasSameType(QualType(Specifier->getAsType(), 0), FoundType)) in ValidateCandidate()
8619 !Context.hasSameType(OldTD->getUnderlyingType(), in ActOnAliasDeclaration()
11768 Context.hasSameType(PmDecl->getType(), Context.CharTy)) in CheckLiteralOperatorDeclaration()
11801 if (Context.hasSameType(T, Context.UnsignedLongLongTy) || in CheckLiteralOperatorDeclaration()
11802 Context.hasSameType(T, Context.LongDoubleTy) || in CheckLiteralOperatorDeclaration()
11803 Context.hasSameType(T, Context.CharTy) || in CheckLiteralOperatorDeclaration()
11804 Context.hasSameType(T, Context.WideCharTy) || in CheckLiteralOperatorDeclaration()
[all …]
HDSemaExprCXX.cpp442 if (!Context.hasSameType(T, UnqualT)) { in BuildCXXTypeId()
1869 if (Context.hasSameType(Fn->getType(), ExpectedFunctionType)) in FindAllocationFunctions()
3084 if (Context.hasSameType(FromType, Context.OverloadTy)) { in PerformImplicitConversion()
3469 assert(Context.hasSameType( in PerformImplicitConversion()
4182 return Self.Context.hasSameType(LhsT, RhsT); in EvaluateBinaryTypeTrait()
4826 if (!Context.hasSameType(LTy, RTy) && in CXXCheckConditionalOperands()
4863 if (!Context.hasSameType(LTy, RTy) && in CXXCheckConditionalOperands()
4888 bool Same = Context.hasSameType(LTy, RTy); in CXXCheckConditionalOperands()
5188 if (!Context.hasSameType(Composite1, Composite2)) { in FindCompositePointerType()
HDSemaTemplateDeduction.cpp167 Context.hasSameType(X.getAsType(), Y.getAsType())) in checkDeducedTemplateArguments()
258 Context.hasSameType(X.getNullPtrType(), Y.getNullPtrType())) in checkDeducedTemplateArguments()
1703 S.Context.hasSameType(Param.getNullPtrType(), Arg.getNullPtrType())) in DeduceTemplateArguments()
1932 return Context.hasSameType(X.getNullPtrType(), Y.getNullPtrType()); in isSameTemplateArg()
3597 !Context.hasSameType(Specialization->getType(), ArgFunctionType)) in DeduceTemplateArguments()
3663 if (!S.Context.hasSameType(CallOpSpecialized->getReturnType(), in SpecializeCorrespondingLambdaCallOperatorAndInvoker()
HDSemaOverload.cpp1470 assert(S.Context.hasSameType( in IsStandardConversion()
2398 if (Context.hasSameType(FromPointeeType, ToPointeeType)) in IsBlockPointerConversion()
2413 if (Context.hasSameType(FromFunctionType->getReturnType(), in IsBlockPointerConversion()
2423 if (Context.hasSameType(RHS,LHS)) { in IsBlockPointerConversion()
2441 if (Context.hasSameType(FromArgType, ToArgType)) { in IsBlockPointerConversion()
2485 if (!Context.hasSameType(FromMember->getClass(), ToMember->getClass())) { in HandleFunctionTypeMismatch()
2511 if (Context.hasSameType(FromType, ToType)) { in HandleFunctionTypeMismatch()
2541 if (!Context.hasSameType(FromFunction->getReturnType(), in HandleFunctionTypeMismatch()
2570 if (!Context.hasSameType(O->getUnqualifiedType(), in FunctionParamTypesAreEqual()
3407 return Context.hasSameType(SCS1.getToType(2), SCS2.getToType(2))? Result in compareStandardConversionSubsets()
[all …]
HDSemaLambda.cpp595 if (S.Context.hasSameType(retValue->getType(), returnType)) in adjustBlockReturnsToEnum()
688 if (Context.hasSameType(ReturnType, CSI.ReturnType)) in deduceClosureReturnType()
HDSemaStmtAsm.cpp421 if (Context.hasSameType(InTy, OutTy)) in ActOnGCCAsmStmt()
HDSemaDecl.cpp1856 if (S.Context.hasSameType(OldTD->getUnderlyingType(), in filterNonConflictingPreviousTypedefDecls()
1896 !Context.hasSameType(OldType, NewType)) { in isIncompatibleTypedef()
2814 if (!Context.hasSameType(OldDeclaredReturnType, NewDeclaredReturnType) && in MergeFunctionDecl()
3214 } else if (Context.hasSameType(New->getType(), Old->getType())) { in MergeVarDeclTypes()
3227 if (Context.hasSameType(OldArray->getElementType(), in MergeVarDeclTypes()
3234 if (Context.hasSameType(OldArray->getElementType(), in MergeVarDeclTypes()
3597 if (!Context.hasSameType(NewTD->getUnderlyingType(), in setTagNameForLinkagePurposes()
4492 if (Context.hasSameType(DefParamTy, DeclParamTy)) in hasSimilarParameters()
4689 !Context.hasSameType(Name.getCXXNameType(), in diagnoseQualifiedDeclaration()
8294 if (!T.isNull() && !Context.hasSameType(T, NewFD->getType())) { in CheckFunctionDeclaration()
[all …]
HDSemaObjCProperty.cpp399 if (!Context.hasSameType(PIDecl->getType(), PDecl->getType())) { in HandlePropertyInClassExtension()
1072 if (!Context.hasSameType(PropertyIvarType, IvarType)) { in ActOnPropertyImplDecl()
1396 bool compat = Context.hasSameType(PropertyIvarType, GetterType); in DiagnosePropertyAccessorMismatch()
HDSemaExpr.cpp5331 if (Context.hasSameType(ET, DestTy)) in PrepareScalarCast()
5360 if (Context.hasSameType(ET, DestTy)) in PrepareScalarCast()
5766 if (S.Context.hasSameType(LHSTy, RHSTy)) { in checkConditionalPointerCompatibility()
6226 (Context.hasSameType(RHSTy, Context.getObjCClassRedefinitionType()))) { in FindCompositeObjCPointerType()
6231 (Context.hasSameType(LHSTy, Context.getObjCClassRedefinitionType()))) { in FindCompositeObjCPointerType()
6237 (Context.hasSameType(RHSTy, Context.getObjCIdRedefinitionType()))) { in FindCompositeObjCPointerType()
6242 (Context.hasSameType(LHSTy, Context.getObjCIdRedefinitionType()))) { in FindCompositeObjCPointerType()
6248 (Context.hasSameType(RHSTy, Context.getObjCSelRedefinitionType()))) { in FindCompositeObjCPointerType()
6253 (Context.hasSameType(LHSTy, Context.getObjCSelRedefinitionType()))) { in FindCompositeObjCPointerType()
6513 && Context.hasSameType(commonExpr->getType(), RHSExpr->getType()))) { in ActOnConditionalOp()
[all …]
HDSemaTemplate.cpp5054 if (Context.hasSameType(ParamType, ArgType)) { in CheckTemplateArgument()
5397 Context.hasSameType(((Expr*) RefExpr.get())->getType(), in BuildExpressionFromDeclTemplateArgument()
5563 if (!S.Context.hasSameType(OldNTTP->getType(), NewNTTP->getType())) { in MatchTemplateParameterKind()
6278 if (Context.hasSameType(CanonType, in ActOnClassTemplateSpecialization()
6974 if (Context.hasSameType(Adjusted, Method->getType())) { in CheckMemberSpecialization()
7752 if (PrevTemplate && Prev && !Context.hasSameType(Prev->getType(), R)) { in ActOnExplicitInstantiation()
HDSemaStmt.cpp2279 if (!Context.hasSameType(BeginType, EndType)) { in BuildCXXForRangeStmt()
2313 if (!Context.hasSameType(BeginType, EndType)) in BuildCXXForRangeStmt()
3039 !Context.hasSameType(AT->getDeducedType(), NewAT->getDeducedType())) { in DeduceFunctionTypeFromReturnExpr()
HDSemaDeclObjC.cpp212 if (!Context.hasSameType(method->getReturnType(), Context.VoidTy)) { in CheckARCMethodDecl()
817 if (S.Context.hasSameType(prevTypeParam->getUnderlyingType(), in checkTypeParamListConsistency()
2040 if (!Context.hasSameType(ImplIvar->getType(), ClsIvar->getType())) { in CheckImplementationIvars()
HDSemaInit.cpp1066 assert(SemaRef.Context.hasSameType(expr->getType(), ElemType) && in CheckSubElementType()
4700 if (Context.hasSameType(QualType(Dest, 0), QualType(Source, 0))) in hasCompatibleArrayTypes()
4704 if (!Context.hasSameType(Dest->getElementType(), Source->getElementType())) in hasCompatibleArrayTypes()
6476 bool IsTemporary = !S.Context.hasSameType(Entity.getType(), Ty); in Perform()
HDSemaChecking.cpp4664 else if (Context.hasSameType(ParamType, ArgType)) { in getBestAbsFunction()
9289 C.hasSameType(ED1->getIntegerType(), ED2->getIntegerType()); in isLayoutCompatible()
9404 if (C.hasSameType(T1, T2)) in isLayoutCompatible()
9648 mismatch = !Context.hasSameType(ArgumentType, RequiredType); in CheckArgumentWithTypeTag()
/NextBSD/contrib/llvm/tools/clang/lib/CodeGen/
HDCGExprAgg.cpp340 !Ctx.hasSameType(Field->getType()->getPointeeType(), in VisitCXXStdInitializerListExpr()
365 Ctx.hasSameType(Field->getType()->getPointeeType(), in VisitCXXStdInitializerListExpr()
372 } else if (Ctx.hasSameType(Field->getType(), Ctx.getSizeType())) { in VisitCXXStdInitializerListExpr()
HDCGExprCXX.cpp1100 if (Ctx.hasSameType(FD->getType(), QualType(Type, 0))) in EmitBuiltinNewDeleteCall()
/NextBSD/contrib/llvm/tools/clang/include/clang/AST/
HDASTContext.h1871 bool hasSameType(QualType T1, QualType T2) const { in hasSameType() function
1875 bool hasSameType(const Type *T1, const Type *T2) const { in hasSameType() function
/NextBSD/contrib/llvm/tools/clang/lib/Serialization/
HDASTReaderDecl.cpp2476 TX->getASTContext().hasSameType(TX->getType(), TY->getType()); in isSameTemplateParameter()
2563 return X->getASTContext().hasSameType(TypedefX->getUnderlyingType(), in isSameEntity()
2596 FuncX->getASTContext().hasSameType(FuncX->getType(), FuncY->getType()); in isSameEntity()
2603 VarX->getASTContext().hasSameType(VarX->getType(), VarY->getType()); in isSameEntity()
2626 return X->getASTContext().hasSameType(FDX->getType(), FDY->getType()); in isSameEntity()
/NextBSD/contrib/llvm/tools/clang/lib/AST/
HDASTContext.cpp6600 hasSameType(First->getElementType(), Second->getElementType()) && in areCompatibleVectorTypes()
6981 if (ctx.hasSameType(lhsArgs[i], rhsArgs[i])) in sameObjCTypeArgs()
6987 !ctx.hasSameType(lhsArgs[i].stripObjCKindOfType(ctx), in sameObjCTypeArgs()
7209 return hasSameType(LHS, RHS); in typesAreCompatible()
7435 if (Context.hasSameType(underlyingType, other)) in mergeEnumWithInteger()
8722 if (!hasSameType(MethodDecl->getReturnType(), MethodImpl->getReturnType())) in ObjCMethodsAreEqual()
8736 if (!hasSameType(DeclVar->getType(), ImplVar->getType())) in ObjCMethodsAreEqual()
HDDeclTemplate.cpp442 if (Context.hasSameType(P->getInjectedSpecializationType(), T)) in findPartialSpecialization()
HDASTDiagnostic.cpp901 if (Context.hasSameType(FromType, ToType)) { in DiffTypes()
HDExprConstant.cpp3833 assert(Info.Ctx.hasSameType(BaseIt->getType(), BaseType) && in HandleConstructorCall()
4148 if (!Info.Ctx.hasSameType(CalleeType->getPointeeType(), FD->getType())) in VisitCallExpr()
5404 !Info.Ctx.hasSameType(Field->getType()->getPointeeType(), in VisitCXXStdInitializerListExpr()
5416 Info.Ctx.hasSameType(Field->getType()->getPointeeType(), in VisitCXXStdInitializerListExpr()
5424 } else if (Info.Ctx.hasSameType(Field->getType(), Info.Ctx.getSizeType())) in VisitCXXStdInitializerListExpr()
/NextBSD/contrib/llvm/tools/clang/lib/Edit/
HDRewriteObjCFoundationAPI.cpp829 if (Ctx.hasSameType(ArgTy, CallTy)) { in rewriteToNumberLiteral()
/NextBSD/contrib/llvm/tools/lldb/source/Symbol/
HDClangASTContext.cpp1142 return ast->hasSameType (type1_qual, type2_qual); in AreTypesSame()

12