Commits

Devin Coughlin committed 5bde4a00026
Sema: Make availability Fix-It notes more descriptive. Change availability Fix-It notes to use a DescriptiveDeclKind so that the notes are more precise in their description of where an availability attribute will be added. So, for example, the note will now say "add @availability attribute to enclosing class" instead of "add @availability attribute to enclosing type". In these Fix-Its, I have special-cased the descriptive kind for PatternBindingDecls to instead use the description for an associated VarDecl to avoid describing property declarations as "pattern bindings" to the user. Swift SVN r26420