commit | 55c611021e771a816e6e3679928439f667f12eb9 | [log] [tgz] |
---|---|---|
author | Chandler Carruth <chandlerc@gmail.com> | Sat Oct 15 10:48:19 2011 +0000 |
committer | Chandler Carruth <chandlerc@gmail.com> | Sat Oct 15 10:48:19 2011 +0000 |
tree | 14dded835233c2eae6096a806fd1582b507d4a7d | |
parent | 28409289193afca1a3178a9796f8e8aebcb76896 [diff] |
Simplify the interface of a helper method in the TextDiagnosticPrinter to operate directly on the source location and ranges associated with a diagnostic rather than digging them out of the diagnostic. This had a side benefit of cleaning up its code a tiny bit by using the ArrayRef interface. No functionality changed. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@142063 91177308-0d34-0410-b5e6-96231b3b80d8