Searched refs:WithinFunction (Results 1 – 1 of 1) sorted by relevance
1796 bool WithinFunction = D->getDeclContext()->isFunctionOrMethod(); in ShouldDiagnoseUnusedDecl() local1799 WithinFunction = in ShouldDiagnoseUnusedDecl()1800 WithinFunction || (R->isLocalClass() && !R->isDependentType()); in ShouldDiagnoseUnusedDecl()1801 if (!WithinFunction) in ShouldDiagnoseUnusedDecl()