Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-05-10 08:36:17

0001 /*===-- clang-c/FatalErrorHandler.h - Fatal Error Handling --------*- C -*-===*\
0002 |*                                                                            *|
0003 |* Part of the LLVM Project, under the Apache License v2.0 with LLVM          *|
0004 |* Exceptions.                                                                *|
0005 |* See https://llvm.org/LICENSE.txt for license information.                  *|
0006 |* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception                    *|
0007 |*                                                                            *|
0008 \*===----------------------------------------------------------------------===*/
0009 
0010 #ifndef LLVM_CLANG_C_FATAL_ERROR_HANDLER_H
0011 #define LLVM_CLANG_C_FATAL_ERROR_HANDLER_H
0012 
0013 #include "clang-c/ExternC.h"
0014 
0015 LLVM_CLANG_C_EXTERN_C_BEGIN
0016 
0017 /**
0018  * Installs error handler that prints error message to stderr and calls abort().
0019  * Replaces currently installed error handler (if any).
0020  */
0021 void clang_install_aborting_llvm_fatal_error_handler(void);
0022 
0023 /**
0024  * Removes currently installed error handler (if any).
0025  * If no error handler is intalled, the default strategy is to print error
0026  * message to stderr and call exit(1).
0027  */
0028 void clang_uninstall_llvm_fatal_error_handler(void);
0029 
0030 LLVM_CLANG_C_EXTERN_C_END
0031 
0032 #endif