[PATCH] D151598: Small typo in the instruction comments of WithColor header
Jonas Devlieghere via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 6 10:31:46 PDT 2023
This revision was automatically updated to reflect the committed changes.
Closed by commit rGf8b2cbf7ed4c: [llvm] Small typo in the instruction comments of WithColor header (authored by dseynhae, committed by JDevlieghere).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D151598/new/
https://reviews.llvm.org/D151598
Files:
llvm/include/llvm/Support/WithColor.h
Index: llvm/include/llvm/Support/WithColor.h
===================================================================
--- llvm/include/llvm/Support/WithColor.h
+++ llvm/include/llvm/Support/WithColor.h
@@ -60,7 +60,7 @@
/// @param Mode Enable, disable or compute whether to use colors.
WithColor(raw_ostream &OS, HighlightColor S,
ColorMode Mode = ColorMode::Auto);
- /// To be used like this: WithColor(OS, raw_ostream::Black) << "text";
+ /// To be used like this: WithColor(OS, raw_ostream::BLACK) << "text";
/// @param OS The output stream
/// @param Color ANSI color to use, the special SAVEDCOLOR can be used to
/// change only the bold attribute, and keep colors untouched
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D151598.528930.patch
Type: text/x-patch
Size: 705 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230606/17f9567b/attachment.bin>
More information about the llvm-commits
mailing list