Searched refs:OrigDecl (Results 1 – 2 of 2) sorted by relevance
1309 const NamedDecl *OrigDecl = Entity.getTargetDecl()->getUnderlyingDecl(); in IsMicrosoftUsingDeclarationAccessBug() local1311 (OrigDecl->getAccess() == AS_public || in IsMicrosoftUsingDeclarationAccessBug()1312 OrigDecl->getAccess() == AS_protected)) { in IsMicrosoftUsingDeclarationAccessBug()1315 << OrigDecl->getQualifiedNameAsString(); in IsMicrosoftUsingDeclarationAccessBug()
7007 Decl *OrigDecl; member in __anone68e31150611::SelfReferenceChecker7015 SelfReferenceChecker(Sema &S, Decl *OrigDecl) : Inherited(S.Context), in SelfReferenceChecker() argument7016 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() argument7138 if (isa<ParmVarDecl>(OrigDecl)) in CheckSelfReference()7145 if (!DirectInit && !cast<VarDecl>(OrigDecl)->getType()->isRecordType()) in CheckSelfReference()[all …]