More conservative fix for <rdar://problem/12847524> (a crash printing diagnostic...
authorEli Friedman <eli.friedman@gmail.com>
Tue, 18 Dec 2012 00:52:36 +0000 (00:52 +0000)
committerEli Friedman <eli.friedman@gmail.com>
Tue, 18 Dec 2012 00:52:36 +0000 (00:52 +0000)
commit672845bcde0c0d49b133b50110b5229e158a7ef7
tree3d8e5175114df373cc0b14b80fa0a8eea70fcf4b
parentf53f5785674af89c021c8b3aa54552231273bb35
More conservative fix for <rdar://problem/12847524> (a crash printing diagnostic ranges).
I'm not really happy with this fix, but I'm confident it's correct.

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