Searched refs:OrigDecl (Results 1 – 2 of 2) sorted by relevance
1299 const NamedDecl *OrigDecl = Entity.getTargetDecl()->getUnderlyingDecl(); in IsMicrosoftUsingDeclarationAccessBug() local1301 (OrigDecl->getAccess() == AS_public || in IsMicrosoftUsingDeclarationAccessBug()1302 OrigDecl->getAccess() == AS_protected)) { in IsMicrosoftUsingDeclarationAccessBug()1305 << OrigDecl->getQualifiedNameAsString(); in IsMicrosoftUsingDeclarationAccessBug()
9094 Decl *OrigDecl; member in __anonb54c7a2f0811::SelfReferenceChecker9105 SelfReferenceChecker(Sema &S, Decl *OrigDecl) : Inherited(S.Context), in SelfReferenceChecker() argument9106 S(S), OrigDecl(OrigDecl) { in SelfReferenceChecker()9111 if (ValueDecl *VD = dyn_cast<ValueDecl>(OrigDecl)) { in SelfReferenceChecker()9158 if (!DRE || DRE->getDecl() != OrigDecl) in CheckInitListMemberExpr()9375 if (OrigDecl != ReferenceDecl) return; in HandleDeclRefExpr()9379 } else if (cast<VarDecl>(OrigDecl)->isStaticLocal()) { in HandleDeclRefExpr()9381 } else if (isa<TranslationUnitDecl>(OrigDecl->getDeclContext()) || in HandleDeclRefExpr()9382 isa<NamespaceDecl>(OrigDecl->getDeclContext()) || in HandleDeclRefExpr()9393 << OrigDecl->getLocation() in HandleDeclRefExpr()[all …]