mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-19 19:12:56 +02:00
Fix comment.
llvm-svn: 75380
This commit is contained in:
parent
ae8a3ff177
commit
2efc9fcd4c
@ -41,11 +41,12 @@ namespace llvm {
|
|||||||
|
|
||||||
/// Reports a serious error, calling any installed error handler.
|
/// Reports a serious error, calling any installed error handler.
|
||||||
/// If no error handler is installed the default is to print the message to
|
/// If no error handler is installed the default is to print the message to
|
||||||
|
/// standard error, followed by a newline.
|
||||||
void llvm_report_error(const std::string &reason) NORETURN;
|
void llvm_report_error(const std::string &reason) NORETURN;
|
||||||
|
|
||||||
/// This function calls abort().
|
/// This function calls abort(), and prints the optional message to stderr.
|
||||||
/// Call this after assert(0), so that compiler knows the path is not
|
/// Call this instead of assert(0), so that compiler knows the path is not
|
||||||
/// reachable.
|
/// reachable even for NDEBUG builds.
|
||||||
void llvm_unreachable(const char *msg=0) NORETURN;
|
void llvm_unreachable(const char *msg=0) NORETURN;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user