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)
commit8f944628acfdf6a97423e6d34bc0a2fa84098375
tree005057819eec4607d6f91f1b90d8c3386e5b5d96
parentc2bed42904ce56de9841490f63e7cfd8f97ff5fc
Make SourceMgr::PrintMessage() testable and add unit tests

llvm-svn: 191558
llvm/include/llvm/Support/SourceMgr.h
llvm/lib/Support/SourceMgr.cpp
llvm/unittests/Support/CMakeLists.txt
llvm/unittests/Support/SourceMgrTest.cpp [new file with mode: 0644]