Switch the remaining diagnostic printing in CIndex over to the
diagnostic callback mechanism, so all diagnostics now go through that
callback. Also, eliminate the displayDiagnostics flag to
clang_createIndex(), since it is no longer necessary: the client
determines whether to display diagnostics or not.

llvm-svn: 94714
6 files changed
tree: ca6d5879ccd64724a5267b662c45d7414fedc66a
  1. clang/
  2. compiler-rt/
  3. llvm/