Make SourceMgr::PrintMessage() testable and add unit tests
authorDmitri Gribenko <gribozavr@gmail.com>
Fri, 27 Sep 2013 21:09:25 +0000 (21:09 +0000)
committerDmitri Gribenko <gribozavr@gmail.com>
Fri, 27 Sep 2013 21:09:25 +0000 (21:09 +0000)
commit8a93c3ab2121f8c9f0739971070b042cd6aa8024
tree4179d68306128a02e730e1968e15fb973c62cd5e
parenta6610ee882fcb8bcad60d53fc52b80f00a3fddae
Make SourceMgr::PrintMessage() testable and add unit tests

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@191558 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Support/SourceMgr.h
lib/Support/SourceMgr.cpp
unittests/Support/CMakeLists.txt
unittests/Support/SourceMgrTest.cpp [new file with mode: 0644]