Home
last modified time | relevance | path

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

/external/clang/lib/Sema/
DSemaAccess.cpp1304 const NamedDecl *OrigDecl = Entity.getTargetDecl()->getUnderlyingDecl(); in IsMicrosoftUsingDeclarationAccessBug() local
1306 (OrigDecl->getAccess() == AS_public || in IsMicrosoftUsingDeclarationAccessBug()
1307 OrigDecl->getAccess() == AS_protected)) { in IsMicrosoftUsingDeclarationAccessBug()
1310 << OrigDecl->getQualifiedNameAsString(); in IsMicrosoftUsingDeclarationAccessBug()
DSemaDecl.cpp8760 Decl *OrigDecl; member in __anon7cb36e300811::SelfReferenceChecker
8770 SelfReferenceChecker(Sema &S, Decl *OrigDecl) : Inherited(S.Context), in SelfReferenceChecker() argument
8771 S(S), OrigDecl(OrigDecl) { in SelfReferenceChecker()
8776 if (ValueDecl *VD = dyn_cast<ValueDecl>(OrigDecl)) { in SelfReferenceChecker()
8823 if (!DRE || DRE->getDecl() != OrigDecl) in CheckInitListMemberExpr()
9040 if (OrigDecl != ReferenceDecl) return; in HandleDeclRefExpr()
9044 } else if (cast<VarDecl>(OrigDecl)->isStaticLocal()) { in HandleDeclRefExpr()
9046 } else if (isa<TranslationUnitDecl>(OrigDecl->getDeclContext()) || in HandleDeclRefExpr()
9047 isa<NamespaceDecl>(OrigDecl->getDeclContext()) || in HandleDeclRefExpr()
9058 << OrigDecl->getLocation() in HandleDeclRefExpr()
[all …]