Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang/include/clang/Sema/
H A DLookup.h550 NamedDecl *getRepresentativeDecl() const { in getRepresentativeDecl() function
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaTemplate.cpp544 Found.empty() ? nullptr : Found.getRepresentativeDecl(); in LookupTemplateName()
606 Diag(Found.getRepresentativeDecl()->getLocation(), in LookupTemplateName()
1865 !isDeclInScope(Previous.getRepresentativeDecl(), SemanticContext, in CheckClassTemplate()
1870 PrevDecl ? Previous.getRepresentativeDecl() : nullptr)) { in CheckClassTemplate()
8731 auto *OldConcept = dyn_cast<ConceptDecl>(Previous.getRepresentativeDecl()->getUnderlyingDecl()); in CheckConceptRedefinition()
8733 auto *Old = Previous.getRepresentativeDecl(); in CheckConceptRedefinition()
9328 FoundInstantiation = Previous.getRepresentativeDecl(); in CheckMemberSpecialization()
9337 FoundInstantiation = Previous.getRepresentativeDecl(); in CheckMemberSpecialization()
9346 FoundInstantiation = Previous.getRepresentativeDecl(); in CheckMemberSpecialization()
10742 = dyn_cast<UnresolvedUsingValueDecl>(Result.getRepresentativeDecl())){ in CheckTypenameType()
H A DSemaCoroutine.cpp1496 S.Diag(LRVoid.getRepresentativeDecl()->getLocation(), in makeOnFallthrough()
1499 S.Diag(LRValue.getRepresentativeDecl()->getLocation(), in makeOnFallthrough()
H A DSemaExprMember.cpp263 diagnoseInstanceReference(*this, SS, R.getRepresentativeDecl(), in BuildPossibleImplicitMemberExpr()
583 R.getRepresentativeDecl(), in CheckQualifiedMemberReference()
H A DSemaCXXScopeSpec.cpp666 Found.isSingleResult() ? Found.getRepresentativeDecl() : nullptr; in BuildCXXNestedNameSpecifier()
H A DSemaDecl.cpp1225 return NameClassification::NonType(Result.getRepresentativeDecl()); in ClassifyName()
2537 NamedDecl *OldD = OldDecls.getRepresentativeDecl(); in MergeTypedefNameDecl()
4455 dyn_cast<UsingShadowDecl>(Previous.getRepresentativeDecl())) in MergeVarDecl()
4462 dyn_cast<UsingShadowDecl>(Previous.getRepresentativeDecl())) in MergeVarDecl()
4470 notePreviousDefinition(Previous.getRepresentativeDecl(), in MergeVarDecl()
5252 NamedDecl *PrevDecl = R.getRepresentativeDecl()->getUnderlyingDecl(); in CheckAnonMemberRedeclaration()
7938 NamedDecl *Prev = Previous.getRepresentativeDecl(); in ActOnVariableDeclarator()
10370 NamedDecl *Prev = Previous.getRepresentativeDecl(); in ActOnFunctionDeclarator()
11304 NamedDecl *Candidate = Previous.getRepresentativeDecl(); in CheckFunctionDeclaration()
16566 NamedDecl *DirectPrevDecl = Previous.getRepresentativeDecl(); in ActOnTag()
[all …]
H A DSemaDeclCXX.cpp871 auto *Old = Previous.getRepresentativeDecl(); in ActOnDecompositionDeclarator()
1137 S.Diag(R.getRepresentativeDecl()->getLocation(), diag::note_declared_at); in getTupleLikeElementType()
11144 R.isSingleResult() ? R.getRepresentativeDecl() : nullptr; in ActOnStartNamespaceDef()
11685 NamedDecl *Named = R.getRepresentativeDecl(); in ActOnUsingDirective()
13037 NamedDecl *OldD = Previous.getRepresentativeDecl(); in ActOnAliasDeclaration()
13125 NamedDecl *ND = R.getRepresentativeDecl(); in ActOnNamespaceAliasDef()
13145 NamedDecl *PrevDecl = PrevR.getRepresentativeDecl(); in ActOnNamespaceAliasDef()
17034 DC = Previous.getRepresentativeDecl()->getDeclContext(); in ActOnFriendFunctionDecl()
17241 Diag(Previous.getRepresentativeDecl()->getLocation(), in ActOnFriendFunctionDecl()
18322 PrevDecl = Previous.getRepresentativeDecl(); in HandleMSProperty()
H A DSemaExpr.cpp2230 if (R.getRepresentativeDecl()->getDeclContext()->Equals(R.getNamingClass())) { in DiagnoseDependentMemberLookup()
3230 R.getRepresentativeDecl(), nullptr, in BuildDeclarationNameExpr()
5409 NamedDecl *Old = Previous.getRepresentativeDecl(); in ActOnOMPIteratorExpr()
H A DSemaOpenMP.cpp18506 NamedDecl *D = Lookup.getRepresentativeDecl(); in buildDeclareReductionRef()
21281 NamedDecl *D = Lookup.getRepresentativeDecl(); in buildUserDefinedMapperRef()
H A DTreeTransform.h1152 NamedDecl *SomeDecl = Result.getRepresentativeDecl(); in RebuildDependentNameType()