Home
last modified time | relevance | path

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

/external/clang/lib/Sema/
DSema.cpp435 const FunctionDecl *DeclToCheck; in ShouldRemoveFromUnused() local
436 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() local
459 if (DeclToCheck) in ShouldRemoveFromUnused()
460 return !SemaRef->ShouldWarnIfUnusedFileScopedDecl(DeclToCheck); in ShouldRemoveFromUnused()
464 DeclToCheck = VD->getMostRecentDecl(); in ShouldRemoveFromUnused()
[all …]