commit | 4c58923ca904733d588ddb1cec58549b6bc7dfa9 | [log] [tgz] |
---|---|---|
author | Douglas Gregor <dgregor@apple.com> | Thu Feb 18 19:08:21 2010 +0000 |
committer | Douglas Gregor <dgregor@apple.com> | Thu Feb 18 19:08:21 2010 +0000 |
tree | ccd6bd7ac9795850ca25ad5919f13a822d3c1c61 | |
parent | c4174cc4b9b657abb77d0825de473ea29cf48297 [diff] |
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