Apply some LLVM_READONLY / LLVM_READNONE on diagnostic functions

llvm-svn: 198598
3 files changed