commit | 29271fbcef645117df05d5b60e593acb6562422c | [log] [tgz] |
---|---|---|
author | Matt Beaumont-Gay <matthewbg@google.com> | Mon Jun 18 20:12:05 2012 +0000 |
committer | Matt Beaumont-Gay <matthewbg@google.com> | Mon Jun 18 20:12:05 2012 +0000 |
tree | 0b122bd5dfa51cc0e3d9a10e1ee71977146470f4 | |
parent | 9c849b03a62fd1864d62c382c916cf9dc17be335 [diff] |
Move a few static functions from DiagnosticRenderer.cpp into SourceManager. This simplifies the code a little bit, since these functions all took a SourceManager parameter and called a bunch of methods on it, and makes the functions available to other users. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@158676 91177308-0d34-0410-b5e6-96231b3b80d8