diff options
Diffstat (limited to 'clang/lib/Sema')
-rw-r--r-- | clang/lib/Sema/SemaDeclAttr.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/clang/lib/Sema/SemaDeclAttr.cpp b/clang/lib/Sema/SemaDeclAttr.cpp index 73d67eb6fff..0532dac34a7 100644 --- a/clang/lib/Sema/SemaDeclAttr.cpp +++ b/clang/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; |