Home
last modified time | relevance | path

Searched refs:getRepresentativeDecl (Results 1 – 10 of 10) sorted by relevance

/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DLookup.h576 NamedDecl *getRepresentativeDecl() const { in getRepresentativeDecl() function
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaTemplate.cpp545 Found.empty() ? nullptr : Found.getRepresentativeDecl(); in LookupTemplateName()
607 Diag(Found.getRepresentativeDecl()->getLocation(), in LookupTemplateName()
1990 } else if (PrevDecl && !isDeclInScope(Previous.getRepresentativeDecl(), in CheckClassTemplate()
1995 PrevDecl ? Previous.getRepresentativeDecl() : nullptr)) { in CheckClassTemplate()
4800 R.getRepresentativeDecl(), TemplateKWLoc, TemplateArgs); in BuildTemplateIdExpr()
4809 R.getRepresentativeDecl(), in BuildTemplateIdExpr()
9001 auto *OldConcept = dyn_cast<ConceptDecl>(Previous.getRepresentativeDecl()->getUnderlyingDecl()); in CheckConceptRedefinition()
9003 auto *Old = Previous.getRepresentativeDecl(); in CheckConceptRedefinition()
9646 FoundInstantiation = Previous.getRepresentativeDecl(); in CheckMemberSpecialization()
9655 FoundInstantiation = Previous.getRepresentativeDecl(); in CheckMemberSpecialization()
[all …]
H A DSemaExprMember.cpp337 diagnoseInstanceReference(*this, SS, R.getRepresentativeDecl(), in BuildPossibleImplicitMemberExpr()
648 R.getRepresentativeDecl(), in CheckQualifiedMemberReference()
H A DSemaCoroutine.cpp1723 S.Diag(LRVoid.getRepresentativeDecl()->getLocation(), in makeOnFallthrough()
1726 S.Diag(LRValue.getRepresentativeDecl()->getLocation(), in makeOnFallthrough()
H A DSemaCXXScopeSpec.cpp572 Found.isSingleResult() ? Found.getRepresentativeDecl() : nullptr; in BuildCXXNestedNameSpecifier()
H A DSemaDecl.cpp1196 if (auto *USD = dyn_cast<UsingShadowDecl>(Result.getRepresentativeDecl())) in ClassifyName()
1232 return NameClassification::NonType(Result.getRepresentativeDecl()); in ClassifyName()
2538 NamedDecl *OldD = OldDecls.getRepresentativeDecl(); in MergeTypedefNameDecl()
4572 dyn_cast<UsingShadowDecl>(Previous.getRepresentativeDecl())) in MergeVarDecl()
4579 dyn_cast<UsingShadowDecl>(Previous.getRepresentativeDecl())) in MergeVarDecl()
4587 notePreviousDefinition(Previous.getRepresentativeDecl(), in MergeVarDecl()
5383 NamedDecl *PrevDecl = R.getRepresentativeDecl()->getUnderlyingDecl(); in CheckAnonMemberRedeclaration()
8262 NamedDecl *Prev = Previous.getRepresentativeDecl(); in ActOnVariableDeclarator()
10911 NamedDecl *Prev = Previous.getRepresentativeDecl(); in ActOnFunctionDeclarator()
12052 NamedDecl *Candidate = Previous.getRepresentativeDecl(); in CheckFunctionDeclaration()
[all …]
H A DSemaDeclCXX.cpp931 auto *Old = Previous.getRepresentativeDecl(); in ActOnDecompositionDeclarator()
1245 S.Diag(R.getRepresentativeDecl()->getLocation(), diag::note_declared_at); in getTupleLikeElementType()
11812 R.isSingleResult() ? R.getRepresentativeDecl() : nullptr; in ActOnStartNamespaceDef()
12464 NamedDecl *Named = R.getRepresentativeDecl(); in ActOnUsingDirective()
13744 NamedDecl *OldD = Previous.getRepresentativeDecl(); in ActOnAliasDeclaration()
13832 NamedDecl *ND = R.getRepresentativeDecl(); in ActOnNamespaceAliasDef()
13852 NamedDecl *PrevDecl = PrevR.getRepresentativeDecl(); in ActOnNamespaceAliasDef()
18235 DC = Previous.getRepresentativeDecl()->getDeclContext(); in ActOnFriendFunctionDecl()
18437 Diag(Previous.getRepresentativeDecl()->getLocation(), in ActOnFriendFunctionDecl()
19502 PrevDecl = Previous.getRepresentativeDecl(); in HandleMSProperty()
H A DSemaOpenMP.cpp18552 NamedDecl *D = Lookup.getRepresentativeDecl(); in buildDeclareReductionRef()
21465 NamedDecl *D = Lookup.getRepresentativeDecl(); in buildUserDefinedMapperRef()
21667 NamedDecl *D = Lookup.getRepresentativeDecl(); in hasUserDefinedMapper()
24555 NamedDecl *Old = Previous.getRepresentativeDecl(); in ActOnOMPIteratorExpr()
H A DTreeTransform.h1223 NamedDecl *SomeDecl = Result.getRepresentativeDecl(); in RebuildDependentNameType()
14750 NamedDecl *FoundDecl = R.getRepresentativeDecl()->getUnderlyingDecl(); in TransformOverloadExprDecls()
H A DSemaExpr.cpp2469 if (R.getRepresentativeDecl()->getDeclContext()->Equals(R.getNamingClass())) { in DiagnoseDependentMemberLookup()
3226 R.getRepresentativeDecl(), nullptr, in BuildDeclarationNameExpr()