Home
last modified time | relevance | path

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

/external/clang/lib/Sema/
DSemaAccess.cpp1309 const NamedDecl *OrigDecl = Entity.getTargetDecl()->getUnderlyingDecl(); in IsMicrosoftUsingDeclarationAccessBug() local
1311 (OrigDecl->getAccess() == AS_public || in IsMicrosoftUsingDeclarationAccessBug()
1312 OrigDecl->getAccess() == AS_protected)) { in IsMicrosoftUsingDeclarationAccessBug()
1315 << OrigDecl->getQualifiedNameAsString(); in IsMicrosoftUsingDeclarationAccessBug()
DSemaDecl.cpp7007 Decl *OrigDecl; member in __anone68e31150611::SelfReferenceChecker
7015 SelfReferenceChecker(Sema &S, Decl *OrigDecl) : Inherited(S.Context), in SelfReferenceChecker() argument
7016 S(S), OrigDecl(OrigDecl) { in SelfReferenceChecker()
7020 if (ValueDecl *VD = dyn_cast<ValueDecl>(OrigDecl)) { in SelfReferenceChecker()
7115 if (OrigDecl != ReferenceDecl) return; in HandleDeclRefExpr()
7119 } else if (cast<VarDecl>(OrigDecl)->isStaticLocal()) { in HandleDeclRefExpr()
7128 << OrigDecl->getLocation() in HandleDeclRefExpr()
7134 static void CheckSelfReference(Sema &S, Decl* OrigDecl, Expr *E, in CheckSelfReference() argument
7138 if (isa<ParmVarDecl>(OrigDecl)) in CheckSelfReference()
7145 if (!DirectInit && !cast<VarDecl>(OrigDecl)->getType()->isRecordType()) in CheckSelfReference()
[all …]