| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | SemaExprMember.cpp | 1439 if (!declaresSameEntity(ClassDeclared, IDecl) || in LookupMemberExpr() 1440 !declaresSameEntity(ClassOfMethodDecl, ClassDeclared)) in LookupMemberExpr()
|
| H A D | SemaTemplateVariadic.cpp | 309 return declaresSameEntity(Pack.first.get<NamedDecl *>(), LocalPack); in DiagnoseUnexpandedParameterPacks()
|
| H A D | SemaTemplateInstantiateDecl.cpp | 615 !declaresSameEntity(T->getAsCXXRecordDecl(), RD)) in isRelevantAttr() 5844 return declaresSameEntity(C.getInstantiatedFromUsingShadowDecl(Instance), in isInstantiationOf() 5850 return declaresSameEntity(C.getInstantiatedFromUsingDecl(Instance), Pattern); in isInstantiationOf() 5877 declaresSameEntity(OtherFrom, Pattern); in isInstantiationOfUnresolvedUsingDecl() 5934 return declaresSameEntity(Ctx.getInstantiatedFromUnnamedFieldDecl(Field), in isInstantiationOf()
|
| H A D | SemaDeclObjC.cpp | 512 return ID && !declaresSameEntity(ID, CurrentIDecl); in ValidateCandidate() 568 if (declaresSameEntity(PrevDecl, IDecl)) { in ActOnSuperClassOfClassInterface() 2021 else if (IDecl && !declaresSameEntity(IDecl->getSuperClass(), SDecl)) { in ActOnStartClassImplementation() 4251 if (declaresSameEntity(CurrentClass, ResultClass)) in CheckRelatedResultTypeCompatibility()
|
| H A D | SemaObjCProperty.cpp | 1350 !declaresSameEntity(ClassDeclared, IDecl)) { in ActOnPropertyImplDecl() 1590 declaresSameEntity(IC->getClassInterface(), ClassDeclared)) { in ActOnPropertyImplDecl()
|
| H A D | SemaAccess.cpp | 1973 if (declaresSameEntity(ClassOfMethodDecl, Ivar->getContainingInterface())) in IsSimplyAccessible()
|
| H A D | SemaInit.cpp | 2632 if (declaresSameEntity(KnownField, FI)) { in CheckDesignatedInitializer() 2648 if (CurrentField && !declaresSameEntity(CurrentField, *Field)) { in CheckDesignatedInitializer() 2705 declaresSameEntity(*FI, **NextField)) in CheckDesignatedInitializer() 10030 return !CTSD || !declaresSameEntity(CTSD->getSpecializedTemplate(), CTD); in isOrIsDerivedFromSpecializationOf()
|
| H A D | SemaDeclAttr.cpp | 1450 if (Template && declaresSameEntity(Template, CTD)) { in handlePreferredName() 6741 if (declaresSameEntity(UA->getGuidDecl(), GuidDecl)) in mergeUuidAttr()
|
| H A D | SemaDeclCXX.cpp | 10571 if (!declaresSameEntity(ParamType->getAsCXXRecordDecl(), RD)) { in CheckDestructor() 13537 if (declaresSameEntity(cast<CXXConstructorDecl>(Ctor) in findInheritingConstructor() 15524 assert(declaresSameEntity( in BuildCXXConstructExpr()
|
| H A D | SemaDecl.cpp | 487 declaresSameEntity(LookupRD, cast<Decl>(FoundRD->getParent()))) in getTypeName() 14613 if (declaresSameEntity(OrigFD, OrigDef) && in CheckForFunctionRedefinition() 14614 declaresSameEntity(cast<Decl>(Definition->getLexicalDeclContext()), in CheckForFunctionRedefinition()
|
| H A D | SemaOverload.cpp | 9639 if (declaresSameEntity(F1, F2)) in haveSameParameterTypes() 13803 declaresSameEntity(AmbiguousWith.front(), FnDecl); in CreateOverloadedBinOp()
|
| /llvm-project-15.0.7/clang/lib/AST/ |
| H A D | Expr.cpp | 4066 return declaresSameEntity(DRE1->getDecl(), DRE2->getDecl()); in isSameComparisonOperand() 4072 declaresSameEntity(Ivar1->getDecl(), Ivar2->getDecl()); in isSameComparisonOperand() 4101 if (!declaresSameEntity(ME1->getMemberDecl(), ME2->getMemberDecl())) in isSameComparisonOperand() 4125 return declaresSameEntity(VD1, VD2); in isSameComparisonOperand()
|
| H A D | DeclCXX.cpp | 1502 if (!declaresSameEntity(D, R.front())) in allLookupResultsAreTheSame() 2176 if (declaresSameEntity(D, OtherD) || recursivelyOverrides(OtherD, D)) in getCorrespondingMethodInClass()
|
| H A D | ExprConstant.cpp | 5817 if (BaseClass && declaresSameEntity(BaseClass, Base)) in isBaseClassPublic() 5868 if (!Paths && (declaresSameEntity(DynType->Type, C) || in HandleDynamicCast() 5892 if (declaresSameEntity(Class, C)) in HandleDynamicCast() 5942 if (declaresSameEntity(Subobj.getUnionField(), Field)) { in found() 6006 assert(declaresSameEntity(FD, in HandleUnionActiveMemberChange() 6033 assert(declaresSameEntity(Elt->getType()->getAsCXXRecordDecl(), in HandleUnionActiveMemberChange() 6298 for (; !declaresSameEntity(*FieldIt, FD); ++FieldIt) { in HandleConstructorCall()
|
| H A D | ASTContext.cpp | 6443 if (!declaresSameEntity(cast<Decl>(X->getDeclContext()->getRedeclContext()), in isSameEntity() 6638 return declaresSameEntity( in isSameEntity() 9426 if (declaresSameEntity(lProto, rProto)) in ProtocolCompatibleWithProtocol() 9838 if (declaresSameEntity(LHS->getInterface(), RDecl)) { in areCommonBaseCompatible() 9983 while (!declaresSameEntity(RHSSuper->getInterface(), LHSInterface)) in canAssignObjCInterfaces()
|
| H A D | TypePrinter.cpp | 1408 if (!declaresSameEntity(PNA->getTypedefType()->getAsCXXRecordDecl(), in printRecordBefore()
|
| H A D | RecordLayoutBuilder.cpp | 3436 if (ID && declaresSameEntity(ID->getClassInterface(), Container)) in lookupFieldBitOffset()
|
| H A D | ItaniumMangle.cpp | 5511 return V.getUnionField() && declaresSameEntity(FD, V.getUnionField()) && in isZeroInitialized()
|
| H A D | ASTImporter.cpp | 5008 (FromSuper && !declaresSameEntity(FromSuper, ToSuper))) { in ImportDefinition() 5273 !declaresSameEntity(Super->getCanonicalDecl(), in VisitObjCImplementationDecl()
|
| /llvm-project-15.0.7/clang/lib/CodeGen/ |
| H A D | CGExprConstant.cpp | 703 !declaresSameEntity(ILE->getInitializedFieldInUnion(), Field)) in Build() 837 if (RD->isUnion() && !declaresSameEntity(Val.getUnionField(), *Field)) in Build()
|
| H A D | CGExprCXX.cpp | 1925 if (declaresSameEntity(getCXXRecord(Base), DevirtualizedClass)) { in EmitObjectDelete()
|
| /llvm-project-15.0.7/clang/include/clang/AST/ |
| H A D | DeclBase.h | 1229 inline bool declaresSameEntity(const Decl *D1, const Decl *D2) { in declaresSameEntity() function
|
| H A D | DeclObjC.h | 1791 if (declaresSameEntity(this, I)) in isSuperClassOf()
|
| H A D | RecursiveASTVisitor.h | 2215 declaresSameEntity(RD->getLambdaCallOperator(), MD)) {
|
| /llvm-project-15.0.7/clang/lib/Frontend/Rewrite/ |
| H A D | RewriteObjC.cpp | 5837 declaresSameEntity(CurMethodDef->getClassInterface(), in RewriteObjCIvarRefExpr()
|