Searched refs:WithinFunction (Results 1 – 1 of 1) sorted by relevance
1446 bool WithinFunction = D->getDeclContext()->isFunctionOrMethod(); in ShouldDiagnoseUnusedDecl() local1449 WithinFunction = in ShouldDiagnoseUnusedDecl()1450 WithinFunction || (R->isLocalClass() && !R->isDependentType()); in ShouldDiagnoseUnusedDecl()1451 if (!WithinFunction) in ShouldDiagnoseUnusedDecl()