SourceMgr: Use has_colors() instead of just is_displayed() before trying to use
authorDaniel Dunbar <daniel@zuster.org>
Fri, 20 Jul 2012 18:29:44 +0000 (18:29 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Fri, 20 Jul 2012 18:29:44 +0000 (18:29 +0000)
commita7eb58378afcdf50f0afd193356dc07c017b738e
tree75e007c3b7e4852e446e9891dd15b594ffd53835
parentd79637b940dfbcdc0b7c702d9655491ecca9d93d
SourceMgr: Use has_colors() instead of just is_displayed() before trying to use
color.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@160559 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Support/SourceMgr.cpp