c165a99a1b
emission Ensure that we are in a function declaration context before checking the diagnostic emission status, to avoid dereferencing a NULL function declaration. Differential Revision: https://reviews.llvm.org/D97573