Skip to content
Merged
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
5 changes: 3 additions & 2 deletions clang/include/clang-c/FatalErrorHandler.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,21 +11,22 @@
#define LLVM_CLANG_C_FATAL_ERROR_HANDLER_H

#include "clang-c/ExternC.h"
#include "clang-c/Platform.h"

LLVM_CLANG_C_EXTERN_C_BEGIN

/**
* Installs error handler that prints error message to stderr and calls abort().
* Replaces currently installed error handler (if any).
*/
void clang_install_aborting_llvm_fatal_error_handler(void);
CINDEX_LINKAGE void clang_install_aborting_llvm_fatal_error_handler(void);

/**
* Removes currently installed error handler (if any).
* If no error handler is intalled, the default strategy is to print error
* message to stderr and call exit(1).
*/
void clang_uninstall_llvm_fatal_error_handler(void);
CINDEX_LINKAGE void clang_uninstall_llvm_fatal_error_handler(void);

LLVM_CLANG_C_EXTERN_C_END

Expand Down
Loading