From: Ted Kremenek Date: Thu, 19 Dec 2013 22:23:12 +0000 (+0000) Subject: Remove dead code identified by Aaron Ballman. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=45e0c0d87d5a71ddae1f0b38038fbe2f26f6a59b;p=clang Remove dead code identified by Aaron Ballman. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@197730 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Sema/SemaDeclAttr.cpp b/lib/Sema/SemaDeclAttr.cpp index 73d67eb6ff..0532dac34a 100644 --- a/lib/Sema/SemaDeclAttr.cpp +++ b/lib/Sema/SemaDeclAttr.cpp @@ -4545,15 +4545,11 @@ DoEmitAvailabilityWarning(Sema &S, DeclarationName Name = D->getDeclName(); if (!Message.empty()) { S.Diag(Loc, diag_message) << Name << Message; -// S.Diag(D->getLocation(), diag::note_availability_specified_here) -// << D << available_here_select_kind; if (ObjCProperty) S.Diag(ObjCProperty->getLocation(), diag::note_property_attribute) << ObjCProperty->getDeclName() << property_note_select; } else if (!UnknownObjCClass) { S.Diag(Loc, diag) << Name; -// S.Diag(D->getLocation(), diag::note_availability_specified_here) -// << D << available_here_select_kind; if (ObjCProperty) S.Diag(ObjCProperty->getLocation(), diag::note_property_attribute) << ObjCProperty->getDeclName() << property_note_select;