[PATCH] D63179: [sanitizer-common] Reduce ANSI color sequences that have no effect.
Vitaly Buka via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 30 16:02:27 PDT 2019
vitalybuka added a reviewer: vitalybuka.
vitalybuka added inline comments.
================
Comment at: compiler-rt/lib/sanitizer_common/sanitizer_report_decorator.h:45
+ const char* Cyan() const { return ansi_ ? ToStr(kCyan) : ""; }
+ const char* White() const { return ansi_ ? ToStr(kWhite) : ""; }
+
----------------
just move ansi_ check into ToStr()
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D63179/new/
https://reviews.llvm.org/D63179
More information about the llvm-commits
mailing list