]> granicus.if.org Git - llvm/commit
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)
commitebe3d55fadd15663fcaf70d54e0c28a492297856
treee11cdc672b573e2de039c2bba45a5eb116123031
parentd7f209a331eff331d159a17e0906e57056a5ce1e
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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@299006 91177308-0d34-0410-b5e6-96231b3b80d8
tools/llvm-pdbdump/LinePrinter.cpp
tools/llvm-pdbdump/LinePrinter.h