Skip to content

Commit 88b9ef9

Browse files
committed
Clarify that the "should" here is relative to reportFatalInternalError
1 parent d82279e commit 88b9ef9

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

llvm/include/llvm/Support/ErrorHandling.h

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,9 +83,10 @@ namespace llvm {
8383
/// where a more sophisticated error reporting mechanism (such as Error/Expected
8484
/// or DiagnosticInfo) is not supported.
8585
///
86-
/// Examples where this function should be used include invalid inputs or
87-
/// options, but also environment error conditions outside LLVM's control.
88-
/// It should also be used for known unsupported/unimplemented functionality.
86+
/// Examples where this function should be used instead of
87+
/// reportFatalInternalError() include invalid inputs or options, but also
88+
/// environment error conditions outside LLVM's control. It should also be used
89+
/// for known unsupported/unimplemented functionality.
8990
///
9091
/// This will call installed error handlers (or print the message by default)
9192
/// and then exit with code 1. It will not produce a crash trace and will

0 commit comments

Comments
 (0)