Simplify slightly by seperating out the responsibility for emission of a caret
authorRichard Smith <richard-llvm@metafoo.co.uk>
Wed, 5 Dec 2012 06:20:58 +0000 (06:20 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Wed, 5 Dec 2012 06:20:58 +0000 (06:20 +0000)
commitaebee680b64fbda9326ec2cf4cd2c9e15a39cb43
tree11d02d1137e433cd968df5791c1c0a59c1276f89
parentafa874d4c0a9add42d4185a33bb7150d5dcf555a
Simplify slightly by seperating out the responsibility for emission of a caret
diagnostic from the emission of macro backtraces. Incidentally, we now get the
displayed source location for a diagnostic and the location for the caret from
the same place, rather than computing them separately. No functionality change.

llvm-svn: 169357
clang/include/clang/Basic/SourceManager.h
clang/include/clang/Frontend/DiagnosticRenderer.h
clang/lib/Frontend/DiagnosticRenderer.cpp