llvm-pdbdump: If we don't change the color, don't reset the color.
authorAdrian McCarthy <amccarth@google.com>
Wed, 29 Mar 2017 17:11:27 +0000 (17:11 +0000)
committerAdrian McCarthy <amccarth@google.com>
Wed, 29 Mar 2017 17:11:27 +0000 (17:11 +0000)
commit5fcfc2c0257d442d6cf8610afa71f20c7067fc8d
tree5c6193f0596c2c3548279513e8e391ec905d45de
parent182db308427eddf714388e5009a65fc9fc86faa5
llvm-pdbdump: If we don't change the color, don't reset the color.

The -output-color option was successful at suppressing color changes, but
was still allowing color resets.

Differential Revision: https://reviews.llvm.org/D31468

llvm-svn: 299006
llvm/tools/llvm-pdbdump/LinePrinter.cpp
llvm/tools/llvm-pdbdump/LinePrinter.h