]> granicus.if.org Git - clang/commit
Introduce CIndex API functions for displaying a diagnostic, with some
authorDouglas Gregor <dgregor@apple.com>
Thu, 18 Feb 2010 19:08:21 +0000 (19:08 +0000)
committerDouglas Gregor <dgregor@apple.com>
Thu, 18 Feb 2010 19:08:21 +0000 (19:08 +0000)
commit4c58923ca904733d588ddb1cec58549b6bc7dfa9
treeccd6bd7ac9795850ca25ad5919f13a822d3c1c61
parentc4174cc4b9b657abb77d0825de473ea29cf48297
Introduce CIndex API functions for displaying a diagnostic, with some
knobs to control formatting. Eventually, I'd like to merge the
implementation of this code with the TextDiagnosticPrinter, so that
it's easy for CIndex clients to produce beautiful diagnostics like the
clang compiler does.

Use this new function to display diagnostics within c-index-test.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@96603 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang-c/Index.h
test/Index/code-complete-errors.c
tools/CIndex/CIndex.exports
tools/CIndex/CIndexDiagnostic.cpp
tools/c-index-test/c-index-test.c