HomePhabricator

[FormatEntity] Ignore ASCII escape sequences when colors are disabled.

Authored by JDevlieghere on May 31 2019, 9:27 AM.

Description

[FormatEntity] Ignore ASCII escape sequences when colors are disabled.

This patch makes the FormatEntity honor the debugger's color settings by
not inserting ASCII escape sequences when colors are disabled.

Differential revision: https://reviews.llvm.org/D62714

llvm-svn: 362240