Searched refs:DeclToCheck (Results 1 – 1 of 1) sorted by relevance
435 const FunctionDecl *DeclToCheck; in ShouldRemoveFromUnused() local436 if (FD->hasBody(DeclToCheck)) in ShouldRemoveFromUnused()437 return !SemaRef->ShouldWarnIfUnusedFileScopedDecl(DeclToCheck); in ShouldRemoveFromUnused()441 DeclToCheck = FD->getMostRecentDecl(); in ShouldRemoveFromUnused()442 if (DeclToCheck != FD) in ShouldRemoveFromUnused()443 return !SemaRef->ShouldWarnIfUnusedFileScopedDecl(DeclToCheck); in ShouldRemoveFromUnused()458 const VarDecl *DeclToCheck = VD->getDefinition(); in ShouldRemoveFromUnused() local459 if (DeclToCheck) in ShouldRemoveFromUnused()460 return !SemaRef->ShouldWarnIfUnusedFileScopedDecl(DeclToCheck); in ShouldRemoveFromUnused()464 DeclToCheck = VD->getMostRecentDecl(); in ShouldRemoveFromUnused()[all …]