Author: kremenek
Date: Thu Dec 19 16:23:12 2013
New Revision: 197730

URL: http://llvm.org/viewvc/llvm-project?rev=197730&view=rev
Log:
Remove dead code identified by Aaron Ballman.

Modified:
    cfe/trunk/lib/Sema/SemaDeclAttr.cpp

Modified: cfe/trunk/lib/Sema/SemaDeclAttr.cpp
URL: 
http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/SemaDeclAttr.cpp?rev=197730&r1=197729&r2=197730&view=diff
==============================================================================
--- cfe/trunk/lib/Sema/SemaDeclAttr.cpp (original)
+++ cfe/trunk/lib/Sema/SemaDeclAttr.cpp Thu Dec 19 16:23:12 2013
@@ -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;


_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to