Home
last modified time | relevance | path

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

/external/clang/include/clang/Sema/
DLookup.h508 NamedDecl *getRepresentativeDecl() const { in getRepresentativeDecl() function
/external/llvm-project/clang/include/clang/Sema/
DLookup.h524 NamedDecl *getRepresentativeDecl() const { in getRepresentativeDecl() function
/external/clang/lib/Sema/
DSemaExprMember.cpp264 diagnoseInstanceReference(*this, SS, R.getRepresentativeDecl(), in BuildPossibleImplicitMemberExpr()
560 R.getRepresentativeDecl(), in CheckQualifiedMemberReference()
DSemaCXXScopeSpec.cpp647 Found.isSingleResult() ? Found.getRepresentativeDecl() : nullptr; in BuildCXXNestedNameSpecifier()
DSemaTemplate.cpp394 Diag(Found.getRepresentativeDecl()->getLocation(), in LookupTemplateName()
998 !isDeclInScope(Previous.getRepresentativeDecl(), SemanticContext, in CheckClassTemplate()
1003 PrevDecl ? Previous.getRepresentativeDecl() : nullptr)) { in CheckClassTemplate()
7091 FoundInstantiation = Previous.getRepresentativeDecl(); in CheckMemberSpecialization()
7100 FoundInstantiation = Previous.getRepresentativeDecl(); in CheckMemberSpecialization()
7109 FoundInstantiation = Previous.getRepresentativeDecl(); in CheckMemberSpecialization()
8342 = dyn_cast<UnresolvedUsingValueDecl>(Result.getRepresentativeDecl())){ in CheckTypenameType()
DSemaDecl.cpp1990 NamedDecl *OldD = OldDecls.getRepresentativeDecl(); in MergeTypedefNameDecl()
3487 dyn_cast<UsingShadowDecl>(Previous.getRepresentativeDecl())) in MergeVarDecl()
3494 dyn_cast<UsingShadowDecl>(Previous.getRepresentativeDecl())) in MergeVarDecl()
3502 Diag(Previous.getRepresentativeDecl()->getLocation(), in MergeVarDecl()
4099 NamedDecl *PrevDecl = R.getRepresentativeDecl()->getUnderlyingDecl(); in CheckAnonMemberRedeclaration()
6497 *this, dyn_cast<NamedDecl>(Previous.getRepresentativeDecl()), NewVD, in ActOnVariableDeclarator()
8528 *this, dyn_cast<NamedDecl>(Previous.getRepresentativeDecl()), NewFD, in ActOnFunctionDeclarator()
8657 NamedDecl *Candidate = Previous.getRepresentativeDecl(); in CheckFunctionDeclaration()
8687 OverloadedDecl = Previous.getRepresentativeDecl(); in CheckFunctionDeclaration()
12598 NamedDecl *DirectPrevDecl = Previous.getRepresentativeDecl(); in ActOnTag()
[all …]
DSemaDeclCXX.cpp7364 R.isSingleResult() ? R.getRepresentativeDecl() : nullptr; in ActOnStartNamespaceDef()
7745 NamedDecl *Named = R.getRepresentativeDecl(); in ActOnUsingDirective()
8828 NamedDecl *OldD = Previous.getRepresentativeDecl(); in ActOnAliasDeclaration()
8915 NamedDecl *ND = R.getRepresentativeDecl(); in ActOnNamespaceAliasDef()
8935 NamedDecl *PrevDecl = PrevR.getRepresentativeDecl(); in ActOnNamespaceAliasDef()
12786 DC = Previous.getRepresentativeDecl()->getDeclContext(); in ActOnFriendFunctionDecl()
13996 PrevDecl = Previous.getRepresentativeDecl(); in HandleMSProperty()
DSemaOpenMP.cpp8910 auto *D = Lookup.getRepresentativeDecl(); in buildDeclareReductionRef()
DTreeTransform.h1009 NamedDecl *SomeDecl = Result.getRepresentativeDecl(); in RebuildDependentNameType()
DSemaExpr.cpp2807 R.getRepresentativeDecl(), nullptr, in BuildDeclarationNameExpr()
/external/llvm-project/clang/lib/Sema/
DSemaCoroutine.cpp1448 S.Diag(LRVoid.getRepresentativeDecl()->getLocation(), in makeOnFallthrough()
1451 S.Diag(LRValue.getRepresentativeDecl()->getLocation(), in makeOnFallthrough()
DSemaCXXScopeSpec.cpp652 Found.isSingleResult() ? Found.getRepresentativeDecl() : nullptr; in BuildCXXNestedNameSpecifier()
DSemaExprMember.cpp262 diagnoseInstanceReference(*this, SS, R.getRepresentativeDecl(), in BuildPossibleImplicitMemberExpr()
581 R.getRepresentativeDecl(), in CheckQualifiedMemberReference()
DSemaTemplate.cpp540 Found.empty() ? nullptr : Found.getRepresentativeDecl(); in LookupTemplateName()
602 Diag(Found.getRepresentativeDecl()->getLocation(), in LookupTemplateName()
1839 !isDeclInScope(Previous.getRepresentativeDecl(), SemanticContext, in CheckClassTemplate()
1844 PrevDecl ? Previous.getRepresentativeDecl() : nullptr)) { in CheckClassTemplate()
8664 auto *Old = Previous.getRepresentativeDecl(); in ActOnConceptDefinition()
9237 FoundInstantiation = Previous.getRepresentativeDecl(); in CheckMemberSpecialization()
9246 FoundInstantiation = Previous.getRepresentativeDecl(); in CheckMemberSpecialization()
9255 FoundInstantiation = Previous.getRepresentativeDecl(); in CheckMemberSpecialization()
10646 = dyn_cast<UnresolvedUsingValueDecl>(Result.getRepresentativeDecl())){ in CheckTypenameType()
DSemaDecl.cpp1193 return NameClassification::NonType(Result.getRepresentativeDecl()); in ClassifyName()
2287 NamedDecl *OldD = OldDecls.getRepresentativeDecl(); in MergeTypedefNameDecl()
4033 dyn_cast<UsingShadowDecl>(Previous.getRepresentativeDecl())) in MergeVarDecl()
4040 dyn_cast<UsingShadowDecl>(Previous.getRepresentativeDecl())) in MergeVarDecl()
4048 notePreviousDefinition(Previous.getRepresentativeDecl(), in MergeVarDecl()
4822 NamedDecl *PrevDecl = R.getRepresentativeDecl()->getUnderlyingDecl(); in CheckAnonMemberRedeclaration()
7456 NamedDecl *Prev = Previous.getRepresentativeDecl(); in ActOnVariableDeclarator()
9771 NamedDecl *Prev = Previous.getRepresentativeDecl(); in ActOnFunctionDeclarator()
10670 NamedDecl *Candidate = Previous.getRepresentativeDecl(); in CheckFunctionDeclaration()
15749 NamedDecl *DirectPrevDecl = Previous.getRepresentativeDecl(); in ActOnTag()
[all …]
DSemaDeclCXX.cpp865 auto *Old = Previous.getRepresentativeDecl(); in ActOnDecompositionDeclarator()
1122 S.Diag(R.getRepresentativeDecl()->getLocation(), diag::note_declared_at); in getTupleLikeElementType()
10878 R.isSingleResult() ? R.getRepresentativeDecl() : nullptr; in ActOnStartNamespaceDef()
11419 NamedDecl *Named = R.getRepresentativeDecl(); in ActOnUsingDirective()
12597 NamedDecl *OldD = Previous.getRepresentativeDecl(); in ActOnAliasDeclaration()
12685 NamedDecl *ND = R.getRepresentativeDecl(); in ActOnNamespaceAliasDef()
12705 NamedDecl *PrevDecl = PrevR.getRepresentativeDecl(); in ActOnNamespaceAliasDef()
16498 DC = Previous.getRepresentativeDecl()->getDeclContext(); in ActOnFriendFunctionDecl()
16708 Diag(Previous.getRepresentativeDecl()->getLocation(), in ActOnFriendFunctionDecl()
17774 PrevDecl = Previous.getRepresentativeDecl(); in HandleMSProperty()
DSemaExpr.cpp2165 if (R.getRepresentativeDecl()->getDeclContext()->Equals(R.getNamingClass())) { in DiagnoseDependentMemberLookup()
3165 R.getRepresentativeDecl(), nullptr, in BuildDeclarationNameExpr()
5173 NamedDecl *Old = Previous.getRepresentativeDecl(); in ActOnOMPIteratorExpr()
DSemaOpenMP.cpp14689 NamedDecl *D = Lookup.getRepresentativeDecl(); in buildDeclareReductionRef()
17416 NamedDecl *D = Lookup.getRepresentativeDecl(); in buildUserDefinedMapperRef()
DTreeTransform.h1146 NamedDecl *SomeDecl = Result.getRepresentativeDecl(); in RebuildDependentNameType()