Fix the computation of highlight ranges so we produce something sane when
authorEli Friedman <eli.friedman@gmail.com>
Fri, 30 Nov 2012 06:19:40 +0000 (06:19 +0000)
committerEli Friedman <eli.friedman@gmail.com>
Fri, 30 Nov 2012 06:19:40 +0000 (06:19 +0000)
commitdea98de3fb4bea09b3ed3a68d90a03e21546b5b0
tree6aa4f3038cdc769379bc4e66df70c55b07041c55
parentb950ea61fcff7f5b28c5c1aeb892818e92f82f42
Fix the computation of highlight ranges so we produce something sane when
the beginning and end of the range are in different macro arguments.
PR14399.

llvm-svn: 168984
clang/lib/Frontend/DiagnosticRenderer.cpp
clang/test/Misc/caret-diags-macros.c