Home
last modified time | relevance | path

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

/external/clang/lib/Sema/
DSemaAccess.cpp1299 const NamedDecl *OrigDecl = Entity.getTargetDecl()->getUnderlyingDecl(); in IsMicrosoftUsingDeclarationAccessBug() local
1301 (OrigDecl->getAccess() == AS_public || in IsMicrosoftUsingDeclarationAccessBug()
1302 OrigDecl->getAccess() == AS_protected)) { in IsMicrosoftUsingDeclarationAccessBug()
1305 << OrigDecl->getQualifiedNameAsString(); in IsMicrosoftUsingDeclarationAccessBug()
DSemaDecl.cpp9094 Decl *OrigDecl; member in __anonb54c7a2f0811::SelfReferenceChecker
9105 SelfReferenceChecker(Sema &S, Decl *OrigDecl) : Inherited(S.Context), in SelfReferenceChecker() argument
9106 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 …]