Home
last modified time | relevance | path

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

/external/clang/lib/Sema/
DSemaDecl.cpp6515 static ShadowedDeclKind computeShadowedDeclKind(const NamedDecl *ShadowedDecl, in computeShadowedDeclKind() argument
6518 return isa<FieldDecl>(ShadowedDecl) ? SDK_Field : SDK_StaticMember; in computeShadowedDeclKind()
6546 NamedDecl* ShadowedDecl = R.getFoundDecl(); in CheckShadow() local
6547 if (!isa<VarDecl>(ShadowedDecl) && !isa<FieldDecl>(ShadowedDecl)) in CheckShadow()
6550 if (FieldDecl *FD = dyn_cast<FieldDecl>(ShadowedDecl)) { in CheckShadow()
6567 if (VarDecl *shadowedVar = dyn_cast<VarDecl>(ShadowedDecl)) in CheckShadow()
6573 ShadowedDecl = I; in CheckShadow()
6578 DeclContext *OldDC = ShadowedDecl->getDeclContext(); in CheckShadow()
6600 ShadowedDeclKind Kind = computeShadowedDeclKind(ShadowedDecl, OldDC); in CheckShadow()
6602 Diag(ShadowedDecl->getLocation(), diag::note_previous_declaration); in CheckShadow()
[all …]