]> granicus.if.org Git - clang/commit
Move a few static functions from DiagnosticRenderer.cpp into SourceManager.
authorMatt Beaumont-Gay <matthewbg@google.com>
Mon, 18 Jun 2012 20:12:05 +0000 (20:12 +0000)
committerMatt Beaumont-Gay <matthewbg@google.com>
Mon, 18 Jun 2012 20:12:05 +0000 (20:12 +0000)
commit29271fbcef645117df05d5b60e593acb6562422c
tree0b122bd5dfa51cc0e3d9a10e1ee71977146470f4
parent9c849b03a62fd1864d62c382c916cf9dc17be335
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
include/clang/Basic/SourceManager.h
lib/Frontend/DiagnosticRenderer.cpp