Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions llvm/include/llvm/Support/Error.h
Original file line number Diff line number Diff line change
Expand Up @@ -735,8 +735,8 @@ template <class T> class [[nodiscard]] Expected {
#endif
};

/// @deprecated Use reportFatalInternalError() or reportFatalUsageError()
/// instead.
/// report_fatal_error below has been soft deprecated.
/// Use reportFatalInternalError() or reportFatalUsageError() instead.
[[noreturn]] void report_fatal_error(Error Err, bool gen_crash_diag = true);

/// Report a fatal error that indicates a bug in LLVM.
Expand Down
4 changes: 2 additions & 2 deletions llvm/include/llvm/Support/ErrorHandling.h
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@ namespace llvm {
~ScopedFatalErrorHandler() { remove_fatal_error_handler(); }
};

/// @deprecated Use reportFatalInternalError() or reportFatalUsageError()
/// instead.
/// report_fatal_error below has been soft deprecated.
/// Use reportFatalInternalError() or reportFatalUsageError() instead.
[[noreturn]] void report_fatal_error(const char *reason,
bool gen_crash_diag = true);
[[noreturn]] void report_fatal_error(StringRef reason,
Expand Down
Loading