[PATCH] D74742: [Debuginfo][NFC] add comments for WithColor routines.

Alexey Lapshin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 17 23:38:51 PST 2020


This revision was automatically updated to reflect the committed changes.
Closed by commit rG69906fe0b181: [Debuginfo][NFC] add comments for WithColor routines. (authored by avl).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D74742/new/

https://reviews.llvm.org/D74742

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
@@ -110,7 +110,12 @@
   /// outputting colored text, or before program exit.
   WithColor &resetColor();
 
+  /// Implement default handling for Error.
+  /// Print "error: " to stderr.
   static void defaultErrorHandler(Error Err);
+
+  /// Implement default handling for Warning.
+  /// Print "warning: " to stderr.
   static void defaultWarningHandler(Error Warning);
 };
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D74742.245086.patch
Type: text/x-patch
Size: 574 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200218/3f97f759/attachment.bin>


More information about the llvm-commits mailing list