diff options
author | David Sanders <dsanders11@ucsbalum.com> | 2020-10-31 10:36:42 -0400 |
---|---|---|
committer | Aaron Ballman <aaron@aaronballman.com> | 2020-10-31 10:36:42 -0400 |
commit | d915d403d7410b17e8ac52f1f435859713a7b354 (patch) | |
tree | 6edd3c8f1d2abdcb97c88df5d1c42391977d169c /clang/lib/CodeGen/CodeGenFunction.cpp | |
parent | 30ad7426442e6f029419366de8fe56eae529c00c (diff) | |
download | llvm-d915d403d7410b17e8ac52f1f435859713a7b354.zip llvm-d915d403d7410b17e8ac52f1f435859713a7b354.tar.gz llvm-d915d403d7410b17e8ac52f1f435859713a7b354.tar.bz2 |
Use ANSI escape codes for --use-color on Windows
On Windows the --use-color option cannot be used for its originally
intended purpose of forcing color when piping stdout, since Windows
does not use ANSI escape codes by default. This change turns on ANSI
escape codes on Windows when forcing color to a non-displayed stdout
(e.g. piped).
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions