This patch improves the decl-level unguarded availability warnings to use the same messages as the function-level ones. This makes the diagnostic have different parameters than deprecated/unavailable, so I moved some things around in DoEmitAvailabilityWarning so that partial diagnostics are handled separately.
rdar://33543523
Thanks,
Erik