Skip to content

[Support] FIx a warning #138546

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
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