Searched refs:WithinFunction (Results 1 – 1 of 1) sorted by relevance
2038 bool WithinFunction = D->getDeclContext()->isFunctionOrMethod(); in ShouldDiagnoseUnusedDecl() local2041 WithinFunction = in ShouldDiagnoseUnusedDecl()2042 WithinFunction || (R->isLocalClass() && !R->isDependentType()); in ShouldDiagnoseUnusedDecl()2043 if (!WithinFunction) in ShouldDiagnoseUnusedDecl()