forked from OSchip/llvm-project
[Debuginfo][NFC] add comments for WithColor routines.
Summary: This patch is follow-up for D74481. It adds comments to WithColor::defaultErrorHandler() and WithColor::defaultWarningHandler(). Reviewers: jhenderson, dblaikie, JDevlieghere Reviewed By: JDevlieghere Subscribers: llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D74742
This commit is contained in:
parent
cdc514e4c6
commit
69906fe0b1
|
@ -110,7 +110,12 @@ public:
|
||||||
/// outputting colored text, or before program exit.
|
/// outputting colored text, or before program exit.
|
||||||
WithColor &resetColor();
|
WithColor &resetColor();
|
||||||
|
|
||||||
|
/// Implement default handling for Error.
|
||||||
|
/// Print "error: " to stderr.
|
||||||
static void defaultErrorHandler(Error Err);
|
static void defaultErrorHandler(Error Err);
|
||||||
|
|
||||||
|
/// Implement default handling for Warning.
|
||||||
|
/// Print "warning: " to stderr.
|
||||||
static void defaultWarningHandler(Error Warning);
|
static void defaultWarningHandler(Error Warning);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue