Searched refs:OrigDecl (Results 1 – 2 of 2) sorted by relevance
1304 const NamedDecl *OrigDecl = Entity.getTargetDecl()->getUnderlyingDecl(); in IsMicrosoftUsingDeclarationAccessBug() local1306 (OrigDecl->getAccess() == AS_public || in IsMicrosoftUsingDeclarationAccessBug()1307 OrigDecl->getAccess() == AS_protected)) { in IsMicrosoftUsingDeclarationAccessBug()1310 << OrigDecl->getQualifiedNameAsString(); in IsMicrosoftUsingDeclarationAccessBug()
8760 Decl *OrigDecl; member in __anon7cb36e300811::SelfReferenceChecker8770 SelfReferenceChecker(Sema &S, Decl *OrigDecl) : Inherited(S.Context), in SelfReferenceChecker() argument8771 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 …]