[Sema] Refactor context checking for availability diagnostics
This commit combines a couple of redundant functions that do availability attribute context checking into a more correct/simpler one. Differential revision: https://reviews.llvm.org/D25283 llvm-svn: 284265
Loading
Please sign in to comment