Searched refs:WithinFunction (Results 1 – 1 of 1) sorted by relevance
1993 bool WithinFunction = D->getDeclContext()->isFunctionOrMethod(); in ShouldDiagnoseUnusedDecl() local1996 WithinFunction = in ShouldDiagnoseUnusedDecl()1997 WithinFunction || (R->isLocalClass() && !R->isDependentType()); in ShouldDiagnoseUnusedDecl()1998 if (!WithinFunction) in ShouldDiagnoseUnusedDecl()