Searched refs:DeclToCheck (Results 1 – 1 of 1) sorted by relevance
403 const FunctionDecl *DeclToCheck; in ShouldRemoveFromUnused() local404 if (FD->hasBody(DeclToCheck)) in ShouldRemoveFromUnused()405 return !SemaRef->ShouldWarnIfUnusedFileScopedDecl(DeclToCheck); in ShouldRemoveFromUnused()409 DeclToCheck = FD->getMostRecentDecl(); in ShouldRemoveFromUnused()410 if (DeclToCheck != FD) in ShouldRemoveFromUnused()411 return !SemaRef->ShouldWarnIfUnusedFileScopedDecl(DeclToCheck); in ShouldRemoveFromUnused()426 const VarDecl *DeclToCheck = VD->getDefinition(); in ShouldRemoveFromUnused() local427 if (DeclToCheck) in ShouldRemoveFromUnused()428 return !SemaRef->ShouldWarnIfUnusedFileScopedDecl(DeclToCheck); in ShouldRemoveFromUnused()432 DeclToCheck = VD->getMostRecentDecl(); in ShouldRemoveFromUnused()[all …]