| /freebsd/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaSYCL.cpp | 354 if (!declaresSameEntity(FD, SKI->getKernelEntryPointDecl())) { in CheckSYCLEntryPointFunctionDecl() 430 assert(declaresSameEntity(SKI.getKernelEntryPointDecl(), FD) && in BuildSYCLKernelCallStmt()
|
| H A D | SemaExprMember.cpp | 1421 if (!declaresSameEntity(ClassDeclared, IDecl) || in LookupMemberExpr() 1422 !declaresSameEntity(ClassOfMethodDecl, ClassDeclared)) in LookupMemberExpr()
|
| H A D | SemaTemplateInstantiateDecl.cpp | 702 !declaresSameEntity(T->getAsCXXRecordDecl(), RD)) in isRelevantAttr() 6621 return declaresSameEntity(C.getInstantiatedFromUsingShadowDecl(Instance), in isInstantiationOf() 6627 return declaresSameEntity(C.getInstantiatedFromUsingDecl(Instance), Pattern); in isInstantiationOf() 6654 declaresSameEntity(OtherFrom, Pattern); in isInstantiationOfUnresolvedUsingDecl() 6711 return declaresSameEntity(Ctx.getInstantiatedFromUnnamedFieldDecl(Field), in isInstantiationOf()
|
| H A D | SemaTemplateVariadic.cpp | 378 return declaresSameEntity(cast<NamedDecl *>(Pack.first), LocalPack); in DiagnoseUnexpandedParameterPacks()
|
| H A D | SemaDeclObjC.cpp | 523 return ID && !declaresSameEntity(ID, CurrentIDecl); in ValidateCandidate() 575 if (declaresSameEntity(PrevDecl, IDecl)) { in ActOnSuperClassOfClassInterface() 2039 else if (IDecl && !declaresSameEntity(IDecl->getSuperClass(), SDecl)) { in ActOnStartClassImplementation() 4266 if (declaresSameEntity(CurrentClass, ResultClass)) in CheckRelatedResultTypeCompatibility()
|
| H A D | SemaObjCProperty.cpp | 1341 !declaresSameEntity(ClassDeclared, IDecl)) { in ActOnPropertyImplDecl() 1578 declaresSameEntity(IC->getClassInterface(), ClassDeclared)) { in ActOnPropertyImplDecl()
|
| H A D | SemaOverload.cpp | 1079 declaresSameEntity(cast<Decl>(EqFD->getEnclosingNamespaceContext()), in shouldAddReversedEqEq() 1926 if (!declaresSameEntity(ToMPT->getMostRecentCXXRecordDecl(), in IsFunctionConversion() 3346 if (!declaresSameEntity(FromMember->getMostRecentCXXRecordDecl(), in HandleFunctionTypeMismatch() 3602 if (!declaresSameEntity(FromClass, ToClass) && in IsMemberPointerConversion() 3641 if (declaresSameEntity(Qual->getAsRecordDecl(), Cls)) in CheckMemberPointerConversion() 10151 if (!declaresSameEntity(D1, D2) && in addArrowStarOverloads() 10619 if (declaresSameEntity(F1, F2)) in allowAmbiguity() 10624 if (declaresSameEntity(PT1, PT2) || in allowAmbiguity() 10625 declaresSameEntity(PT1->getInstantiatedFromMemberTemplate(), in allowAmbiguity() 15392 declaresSameEntity(AmbiguousWith.front(), FnDecl); in CreateOverloadedBinOp()
|
| H A D | SemaAccess.cpp | 1974 if (declaresSameEntity(ClassOfMethodDecl, Ivar->getContainingInterface())) in IsSimplyAccessible()
|
| H A D | SemaInit.cpp | 2980 if (declaresSameEntity(KnownField, FI)) { in CheckDesignatedInitializer() 2996 if (CurrentField && !declaresSameEntity(CurrentField, *Field)) { in CheckDesignatedInitializer() 3055 declaresSameEntity(*FI, **NextField)) in CheckDesignatedInitializer() 9971 return !CTSD || !declaresSameEntity(CTSD->getSpecializedTemplate(), CTD); in isOrIsDerivedFromSpecializationOf()
|
| H A D | SemaExprObjC.cpp | 4816 !declaresSameEntity(ClassDeclared, IFace) && in LookupIvarInObjCMethod() 4829 declaresSameEntity(IFace, ClassDeclared)) in LookupIvarInObjCMethod()
|
| H A D | SemaTemplateDeduction.cpp | 6070 if (declaresSameEntity(getMoreSpecializedTemplate(BestTemplate, Challenger, in getMostSpecialized() 6085 !declaresSameEntity(getMoreSpecializedTemplate(BestTemplate, Challenger, in getMostSpecialized()
|
| H A D | SemaExprCXX.cpp | 5363 if (!declaresSameEntity(LHSClass, RHSClass)) { in CheckPointerToMemberOperands() 6353 if (declaresSameEntity(Cls1, Cls2)) in FindCompositePointerType()
|
| H A D | SemaDeclCXX.cpp | 9042 return declaresSameEntity(F->getFriendDecl(), FD); in CheckExplicitlyDefaultedComparison() 11101 if (!declaresSameEntity(ParamType->getAsCXXRecordDecl(), RD)) { in CheckDestructor() 14248 if (declaresSameEntity(cast<CXXConstructorDecl>(Ctor) in findInheritingConstructor() 16276 assert(declaresSameEntity( in BuildCXXConstructExpr()
|
| H A D | SemaDeclAttr.cpp | 1223 if (Template && declaresSameEntity(Template, CTD)) { in handlePreferredName() 6045 if (declaresSameEntity(UA->getGuidDecl(), GuidDecl)) in mergeUuidAttr()
|
| /freebsd/contrib/llvm-project/clang/lib/AST/ |
| H A D | Expr.cpp | 4262 return declaresSameEntity(DRE1->getDecl(), DRE2->getDecl()); in isSameComparisonOperand() 4268 declaresSameEntity(Ivar1->getDecl(), Ivar2->getDecl()); in isSameComparisonOperand() 4297 if (!declaresSameEntity(ME1->getMemberDecl(), ME2->getMemberDecl())) in isSameComparisonOperand() 4321 return declaresSameEntity(VD1, VD2); in isSameComparisonOperand()
|
| H A D | ASTContext.cpp | 7498 if (!declaresSameEntity(cast<Decl>(X->getDeclContext()->getRedeclContext()), in isSameEntity() 7683 return declaresSameEntity(USX->getTargetDecl(), USY->getTargetDecl()); in isSameEntity() 7708 return declaresSameEntity( in isSameEntity() 10668 if (declaresSameEntity(lProto, rProto)) in ProtocolCompatibleWithProtocol() 11083 if (declaresSameEntity(LHS->getInterface(), RDecl)) { in areCommonBaseCompatible() 11228 while (!declaresSameEntity(RHSSuper->getInterface(), LHSInterface)) in canAssignObjCInterfaces() 13545 if (!declaresSameEntity(X, Y)) in getCommonDecl() 13732 if (declaresSameEntity(A1, A2)) { in getCommonNNS() 14076 assert(declaresSameEntity(PX->getMostRecentCXXRecordDecl(), in getCommonNonSugarTypeNode() 15045 declaresSameEntity(FD, IT->second.getKernelEntryPointDecl())) && in registerSYCLEntryPointFunction()
|
| H A D | DeclCXX.cpp | 1694 return D->isInvalidDecl() || declaresSameEntity(D, R.front()); in allLookupResultsAreTheSame() 2454 if (declaresSameEntity(D, OtherD) || recursivelyOverrides(OtherD, D)) in getCorrespondingMethodInClass()
|
| H A D | ExprConstant.cpp | 6264 if (BaseClass && declaresSameEntity(BaseClass, Base)) in isBaseClassPublic() 6315 if (!Paths && (declaresSameEntity(DynType->Type, C) || in HandleDynamicCast() 6339 if (declaresSameEntity(Class, C)) in HandleDynamicCast() 6389 if (declaresSameEntity(Subobj.getUnionField(), Field)) { in found() 6454 assert(declaresSameEntity(FD, in MaybeHandleUnionActiveMemberChange() 6487 assert(declaresSameEntity(Elt->getType()->getAsCXXRecordDecl(), in MaybeHandleUnionActiveMemberChange() 6764 for (; !declaresSameEntity(*FieldIt, FD); ++FieldIt) { in HandleConstructorCall() 6818 !declaresSameEntity(Value->getUnionField(), FD))) { in HandleConstructorCall()
|
| H A D | TypePrinter.cpp | 1572 if (!declaresSameEntity(PNA->getTypedefType()->getAsCXXRecordDecl(), in printRecordBefore()
|
| /freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGExprConstant.cpp | 739 !declaresSameEntity(ILE->getInitializedFieldInUnion(), Field)) in Build() 892 if (RD->isUnion() && !declaresSameEntity(Val.getUnionField(), *Field)) in Build()
|
| H A D | CGExprCXX.cpp | 1989 if (declaresSameEntity(getCXXRecord(Base), DevirtualizedClass)) { in EmitObjectDelete()
|
| /freebsd/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | DeclBase.h | 1285 inline bool declaresSameEntity(const Decl *D1, const Decl *D2) { in declaresSameEntity() function
|
| H A D | DeclObjC.h | 1810 if (declaresSameEntity(this, I)) in isSuperClassOf()
|
| H A D | RecursiveASTVisitor.h | 2292 declaresSameEntity(RD->getLambdaCallOperator(), MD)) {
|
| /freebsd/contrib/llvm-project/clang/lib/Serialization/ |
| H A D | ASTReaderDecl.cpp | 1149 if (!declaresSameEntity(FD, SKI->getKernelEntryPointDecl())) { in VisitFunctionDecl()
|