Lines Matching refs:SemaRef
426 static bool ShouldRemoveFromUnused(Sema *SemaRef, const DeclaratorDecl *D) {
438 return !SemaRef->ShouldWarnIfUnusedFileScopedDecl(DeclToCheck);
444 return !SemaRef->ShouldWarnIfUnusedFileScopedDecl(DeclToCheck);
454 VD->isUsableInConstantExpressions(SemaRef->Context))
461 return !SemaRef->ShouldWarnIfUnusedFileScopedDecl(DeclToCheck);
467 return !SemaRef->ShouldWarnIfUnusedFileScopedDecl(DeclToCheck);