This patch extends the -Wavailability warning to warn about cases where a method declaration is missing an availability attribute clause that's present in the method's definition. We also warn about missing deprecated attributes as well.
rdar://15540962
Please quote 'availability' in the diagnostic wording. Same for the note.