[PATCH] D97398: add print-changed mode that does not use colour
Jamie Schmeiser via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 24 09:37:47 PST 2021
jamieschmeiser created this revision.
jamieschmeiser added a reviewer: aeubanks.
Herald added a subscriber: hiraditya.
jamieschmeiser requested review of this revision.
Herald added a project: LLVM.
The colour characters currently added to the output of -print-changed=diff and -print-changed=diff-quiet cause difficulties when capturing the output and examining it in an editor. Change the function to not have the colour characters and add 2 new choices (-print-changed=cdiff and -print-changed=cdiff-quiet) to retain the existing functionality of adding the colour characters.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D97398
Files:
llvm/include/llvm/Passes/StandardInstrumentations.h
llvm/lib/Passes/StandardInstrumentations.cpp
llvm/test/Other/ChangePrinters/print-changed-diff.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D97398.326120.patch
Type: text/x-patch
Size: 25289 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210224/750ddeb0/attachment.bin>
More information about the llvm-commits
mailing list