Lines Matching refs:OrigDecl
6021 // Visits an initialization expression to see if OrigDecl is evaluated in
6026 Decl *OrigDecl;
6033 SelfReferenceChecker(Sema &S, Decl *OrigDecl) : Inherited(S.Context),
6034 S(S), OrigDecl(OrigDecl) {
6037 if (ValueDecl *VD = dyn_cast<ValueDecl>(OrigDecl)) {
6094 if (OrigDecl != ReferenceDecl) return;
6100 << OrigDecl->getLocation()
6106 /// CheckSelfReference - Warns if OrigDecl is used in expression E.
6107 void Sema::CheckSelfReference(Decl* OrigDecl, Expr *E) {
6108 SelfReferenceChecker(*this, OrigDecl).VisitExpr(E);