Searched refs:ContextClass (Results 1 – 1 of 1) sorted by relevance
211 CXXRecordDecl *ContextClass = Method ? Method->getParent() : nullptr; in diagnoseInstanceReference() local221 else if (ContextClass && RepClass && SS.isEmpty() && !InStaticMethod && in diagnoseInstanceReference()222 !RepClass->Equals(ContextClass) && RepClass->Encloses(ContextClass)) in diagnoseInstanceReference()226 << IsField << RepClass << nameInfo.getName() << ContextClass << Range; in diagnoseInstanceReference()