Home
last modified time | relevance | path

Searched refs:declaresSameEntity (Results 1 – 25 of 26) sorted by relevance

12

/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaExprMember.cpp1486 if (!declaresSameEntity(ClassDeclared, IDecl) || in LookupMemberExpr()
1487 !declaresSameEntity(ClassOfMethodDecl, ClassDeclared)) in LookupMemberExpr()
H A DSemaTemplateInstantiateDecl.cpp657 !declaresSameEntity(T->getAsCXXRecordDecl(), RD)) in isRelevantAttr()
5939 return declaresSameEntity(C.getInstantiatedFromUsingShadowDecl(Instance), in isInstantiationOf()
5945 return declaresSameEntity(C.getInstantiatedFromUsingDecl(Instance), Pattern); in isInstantiationOf()
5972 declaresSameEntity(OtherFrom, Pattern); in isInstantiationOfUnresolvedUsingDecl()
6029 return declaresSameEntity(Ctx.getInstantiatedFromUnnamedFieldDecl(Field), in isInstantiationOf()
H A DSemaTemplateVariadic.cpp322 return declaresSameEntity(Pack.first.get<NamedDecl *>(), LocalPack); in DiagnoseUnexpandedParameterPacks()
H A DSemaDeclObjC.cpp524 return ID && !declaresSameEntity(ID, CurrentIDecl); in ValidateCandidate()
576 if (declaresSameEntity(PrevDecl, IDecl)) { in ActOnSuperClassOfClassInterface()
2036 else if (IDecl && !declaresSameEntity(IDecl->getSuperClass(), SDecl)) { in ActOnStartClassImplementation()
4264 if (declaresSameEntity(CurrentClass, ResultClass)) in CheckRelatedResultTypeCompatibility()
H A DSemaObjCProperty.cpp1331 !declaresSameEntity(ClassDeclared, IDecl)) { in ActOnPropertyImplDecl()
1568 declaresSameEntity(IC->getClassInterface(), ClassDeclared)) { in ActOnPropertyImplDecl()
H A DSemaAccess.cpp1971 if (declaresSameEntity(ClassOfMethodDecl, Ivar->getContainingInterface())) in IsSimplyAccessible()
H A DSemaInit.cpp2898 if (declaresSameEntity(KnownField, FI)) { in CheckDesignatedInitializer()
2914 if (CurrentField && !declaresSameEntity(CurrentField, *Field)) { in CheckDesignatedInitializer()
2973 declaresSameEntity(*FI, **NextField)) in CheckDesignatedInitializer()
9681 return !CTSD || !declaresSameEntity(CTSD->getSpecializedTemplate(), CTD); in isOrIsDerivedFromSpecializationOf()
H A DSemaExprObjC.cpp4822 !declaresSameEntity(ClassDeclared, IFace) && in LookupIvarInObjCMethod()
4835 declaresSameEntity(IFace, ClassDeclared)) in LookupIvarInObjCMethod()
H A DSemaOverload.cpp1050 declaresSameEntity(cast<Decl>(EqFD->getEnclosingNamespaceContext()), in shouldAddReversedEqEq()
10152 if (declaresSameEntity(F1, F2)) in allowAmbiguity()
10157 if (declaresSameEntity(PT1, PT2) || in allowAmbiguity()
10158 declaresSameEntity(PT1->getInstantiatedFromMemberTemplate(), in allowAmbiguity()
14580 declaresSameEntity(AmbiguousWith.front(), FnDecl); in CreateOverloadedBinOp()
H A DSemaDeclAttr.cpp1205 if (Template && declaresSameEntity(Template, CTD)) { in handlePreferredName()
5327 if (declaresSameEntity(UA->getGuidDecl(), GuidDecl)) in mergeUuidAttr()
H A DSemaDeclCXX.cpp10861 if (!declaresSameEntity(ParamType->getAsCXXRecordDecl(), RD)) { in CheckDestructor()
13957 if (declaresSameEntity(cast<CXXConstructorDecl>(Ctor) in findInheritingConstructor()
15987 assert(declaresSameEntity( in BuildCXXConstructExpr()
H A DSemaDecl.cpp516 declaresSameEntity(LookupRD, cast<Decl>(FoundRD->getParent()))) in getTypeName()
15317 if (declaresSameEntity(OrigFD, OrigDef) && in CheckForFunctionRedefinition()
15318 declaresSameEntity(cast<Decl>(Definition->getLexicalDeclContext()), in CheckForFunctionRedefinition()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DExpr.cpp4235 return declaresSameEntity(DRE1->getDecl(), DRE2->getDecl()); in isSameComparisonOperand()
4241 declaresSameEntity(Ivar1->getDecl(), Ivar2->getDecl()); in isSameComparisonOperand()
4270 if (!declaresSameEntity(ME1->getMemberDecl(), ME2->getMemberDecl())) in isSameComparisonOperand()
4294 return declaresSameEntity(VD1, VD2); in isSameComparisonOperand()
H A DDeclCXX.cpp1611 return D->isInvalidDecl() || declaresSameEntity(D, R.front()); in allLookupResultsAreTheSame()
2287 if (declaresSameEntity(D, OtherD) || recursivelyOverrides(OtherD, D)) in getCorrespondingMethodInClass()
H A DASTContext.cpp6962 if (!declaresSameEntity(cast<Decl>(X->getDeclContext()->getRedeclContext()), in isSameEntity()
7141 return declaresSameEntity(USX->getTargetDecl(), USY->getTargetDecl()); in isSameEntity()
7166 return declaresSameEntity( in isSameEntity()
10095 if (declaresSameEntity(lProto, rProto)) in ProtocolCompatibleWithProtocol()
10510 if (declaresSameEntity(LHS->getInterface(), RDecl)) { in areCommonBaseCompatible()
10655 while (!declaresSameEntity(RHSSuper->getInterface(), LHSInterface)) in canAssignObjCInterfaces()
12887 if (!declaresSameEntity(X, Y)) in getCommonDecl()
H A DExprConstant.cpp5971 if (BaseClass && declaresSameEntity(BaseClass, Base)) in isBaseClassPublic()
6022 if (!Paths && (declaresSameEntity(DynType->Type, C) || in HandleDynamicCast()
6046 if (declaresSameEntity(Class, C)) in HandleDynamicCast()
6096 if (declaresSameEntity(Subobj.getUnionField(), Field)) { in found()
6161 assert(declaresSameEntity(FD, in MaybeHandleUnionActiveMemberChange()
6194 assert(declaresSameEntity(Elt->getType()->getAsCXXRecordDecl(), in MaybeHandleUnionActiveMemberChange()
6459 for (; !declaresSameEntity(*FieldIt, FD); ++FieldIt) { in HandleConstructorCall()
H A DTypePrinter.cpp1525 if (!declaresSameEntity(PNA->getTypedefType()->getAsCXXRecordDecl(), in printRecordBefore()
H A DRecordLayoutBuilder.cpp3510 if (ID && declaresSameEntity(ID->getClassInterface(), Container)) in lookupFieldBitOffset()
H A DItaniumMangle.cpp6207 return V.getUnionField() && declaresSameEntity(FD, V.getUnionField()) && in isZeroInitialized()
H A DASTImporter.cpp5436 (FromSuper && !declaresSameEntity(FromSuper, ToSuper))) { in ImportDefinition()
5701 !declaresSameEntity(Super->getCanonicalDecl(), in VisitObjCImplementationDecl()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGExprConstant.cpp723 !declaresSameEntity(ILE->getInitializedFieldInUnion(), Field)) in Build()
857 if (RD->isUnion() && !declaresSameEntity(Val.getUnionField(), *Field)) in Build()
H A DCGExprCXX.cpp1952 if (declaresSameEntity(getCXXRecord(Base), DevirtualizedClass)) { in EmitObjectDelete()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DDeclBase.h1274 inline bool declaresSameEntity(const Decl *D1, const Decl *D2) { in declaresSameEntity() function
H A DDeclObjC.h1811 if (declaresSameEntity(this, I)) in isSuperClassOf()
H A DRecursiveASTVisitor.h2249 declaresSameEntity(RD->getLambdaCallOperator(), MD)) {

12