]> granicus.if.org Git - clang/commit
Switch the remaining diagnostic printing in CIndex over to the
authorDouglas Gregor <dgregor@apple.com>
Thu, 28 Jan 2010 00:56:43 +0000 (00:56 +0000)
committerDouglas Gregor <dgregor@apple.com>
Thu, 28 Jan 2010 00:56:43 +0000 (00:56 +0000)
commit936ea3b590117d2cd73b1b92621d06c4a7edbe60
treeee4ea2dfb9f2f52cf7a9ae8733db59ba557d2f63
parentc7cbb9bf8e0bf8c3191ef0b782ec198c433d2a4e
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.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@94714 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang-c/Index.h
include/clang/Basic/DiagnosticFrontendKinds.td
tools/CIndex/CIndex.cpp
tools/CIndex/CIndexCodeCompletion.cpp
tools/CIndex/CIndexer.h
tools/c-index-test/c-index-test.c