commit | 9cb1c3de9df7d944f0c5cccaf03fa414036487eb | [log] [tgz] |
---|---|---|
author | Eli Friedman <eli.friedman@gmail.com> | Sat Nov 03 03:36:51 2012 +0000 |
committer | Eli Friedman <eli.friedman@gmail.com> | Sat Nov 03 03:36:51 2012 +0000 |
tree | 8ca10be605f7f116373d583a65a8e81ee03e4398 | |
parent | 8501b7a1c4c4a9ba0ea6cb8e500e601ef3759deb [diff] |
Add a proper algorithm to compute accurate source ranges for diagnostics with caret locations and source ranges in macros. Makes ranges more accurate in some cases, and fixes an assertion failure. Fixes <rdar://problem/12472249>. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@167353 91177308-0d34-0410-b5e6-96231b3b80d8