Home
last modified time | relevance | path

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

/external/clang/lib/Sema/
DSema.cpp320 const FunctionDecl *DeclToCheck; in ShouldRemoveFromUnused() local
321 if (FD->hasBody(DeclToCheck)) in ShouldRemoveFromUnused()
322 return !SemaRef->ShouldWarnIfUnusedFileScopedDecl(DeclToCheck); in ShouldRemoveFromUnused()
326 DeclToCheck = FD->getMostRecentDecl(); in ShouldRemoveFromUnused()
327 if (DeclToCheck != FD) in ShouldRemoveFromUnused()
328 return !SemaRef->ShouldWarnIfUnusedFileScopedDecl(DeclToCheck); in ShouldRemoveFromUnused()
334 const VarDecl *DeclToCheck = VD->getDefinition(); in ShouldRemoveFromUnused() local
335 if (DeclToCheck) in ShouldRemoveFromUnused()
336 return !SemaRef->ShouldWarnIfUnusedFileScopedDecl(DeclToCheck); in ShouldRemoveFromUnused()
340 DeclToCheck = VD->getMostRecentDecl(); in ShouldRemoveFromUnused()
[all …]