Go to file
Chandler Carruth 3d45b23dfc Extract the emission of the diagnostic's location into a separate
function. This is really the beginning of the second phase of
refactorings here. The end goal is to have (roughly) three interfaces:

1) Base class to format a single diagnostic suitable for display on the
   console.
2) Extension of the base class which also displays a caret diagnostic
   suitable for display on the console.
3) An adaptor that implements the DiagnosticClient by delegating to #1
   and/or #2 as appropriate.

Once we have these, things like libclang's formatDiagnostic can use #1
and #2 to provide really well formatted (and consistently formatted!)
textual formatting of diagnostics.

Getting there is going to be quite a bit of shuffling. I'm basically
sketching out where the interface boundaries can be drawn for #1 and #2
within the existing classes. That lets me shuffle with a minimum of fuss
and delta. Once that's done, and any of the related interfaces that need
to change are updated, I'll hoist these into separate headers and
re-implement libclang in terms of their interfaces. Long WIP, but
comments at each step welcome. =D

llvm-svn: 139228
2011-09-07 08:05:58 +00:00
clang Extract the emission of the diagnostic's location into a separate 2011-09-07 08:05:58 +00:00
compiler-rt Change ARM vfp assembly functions to use unified syntax. 2011-08-23 16:40:18 +00:00
debuginfo-tests Testcase for r133065 2011-06-15 17:57:23 +00:00
libcxx Fix const correctness bug in __move_assign. Found and fixed by Ion Gaztañaga. 2011-09-02 20:42:31 +00:00
libcxxabi reformatted to match Clang style; thanks to John McCall for the nudge 2011-08-15 18:06:47 +00:00
lldb Minor change: compare the return val of DNBWatchpointSet() against INVALID_NUB_WATCH_ID 2011-09-07 00:09:23 +00:00
llvm Relax the MemOperands on atomics a bit. Fixes -verify-machineinstrs failures for atomic laod/store on ARM. 2011-09-07 02:23:42 +00:00
polly CodeGen: Support for Cast Operations in vector code generation 2011-09-04 11:45:52 +00:00