Home
last modified time | relevance | path

Searched refs:WithinFunction (Results 1 – 1 of 1) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaDecl.cpp1946 bool WithinFunction = D->getDeclContext()->isFunctionOrMethod(); in ShouldDiagnoseUnusedDecl() local
1949 WithinFunction = in ShouldDiagnoseUnusedDecl()
1950 WithinFunction || (R->isLocalClass() && !R->isDependentType()); in ShouldDiagnoseUnusedDecl()
1951 if (!WithinFunction) in ShouldDiagnoseUnusedDecl()