summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/SemaDeclAttr.cpp
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2013-12-19 22:23:12 +0000
committerTed Kremenek <kremenek@apple.com>2013-12-19 22:23:12 +0000
commitec690e960e78e0617232b300197174c54671d94f (patch)
tree6186841591b707a175b3aba6344339adcaad43e0 /clang/lib/Sema/SemaDeclAttr.cpp
parent37c5f5da32c9bc0cee5b939a666d14f1b6c05268 (diff)
downloadbcm5719-llvm-ec690e960e78e0617232b300197174c54671d94f.tar.gz
bcm5719-llvm-ec690e960e78e0617232b300197174c54671d94f.zip
Remove dead code identified by Aaron Ballman.
llvm-svn: 197730
Diffstat (limited to 'clang/lib/Sema/SemaDeclAttr.cpp')
-rw-r--r--clang/lib/Sema/SemaDeclAttr.cpp4
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;
OpenPOWER on IntegriCloud