Searched refs:DeclToCheck (Results 1 – 1 of 1) sorted by relevance
436 const FunctionDecl *DeclToCheck; in ShouldRemoveFromUnused() local437 if (FD->hasBody(DeclToCheck)) in ShouldRemoveFromUnused()438 return !SemaRef->ShouldWarnIfUnusedFileScopedDecl(DeclToCheck); in ShouldRemoveFromUnused()442 DeclToCheck = FD->getMostRecentDecl(); in ShouldRemoveFromUnused()443 if (DeclToCheck != FD) in ShouldRemoveFromUnused()444 return !SemaRef->ShouldWarnIfUnusedFileScopedDecl(DeclToCheck); in ShouldRemoveFromUnused()459 const VarDecl *DeclToCheck = VD->getDefinition(); in ShouldRemoveFromUnused() local460 if (DeclToCheck) in ShouldRemoveFromUnused()461 return !SemaRef->ShouldWarnIfUnusedFileScopedDecl(DeclToCheck); in ShouldRemoveFromUnused()465 DeclToCheck = VD->getMostRecentDecl(); in ShouldRemoveFromUnused()[all …]