clang
20.0.0git
Toggle main menu visibility
Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Functions
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Typedefs
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
Enumerator
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Related Functions
:
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
z
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Functions
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
w
x
y
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
Typedefs
_
a
b
c
d
e
f
g
h
i
k
l
m
o
p
q
r
s
t
u
v
w
Enumerations
_
a
b
c
f
g
i
l
m
n
o
p
r
s
t
v
Enumerator
_
a
b
c
d
e
f
h
i
k
l
m
n
o
p
r
s
t
u
v
w
Macros
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Examples
include
clang-c
FatalErrorHandler.h
Go to the documentation of this file.
1
/*===-- clang-c/FatalErrorHandler.h - Fatal Error Handling --------*- C -*-===*\
2
|* *|
3
|* Part of the LLVM Project, under the Apache License v2.0 with LLVM *|
4
|* Exceptions. *|
5
|* See https://llvm.org/LICENSE.txt for license information. *|
6
|* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception *|
7
|* *|
8
\*===----------------------------------------------------------------------===*/
9
10
#ifndef LLVM_CLANG_C_FATAL_ERROR_HANDLER_H
11
#define LLVM_CLANG_C_FATAL_ERROR_HANDLER_H
12
13
#include "
clang-c/ExternC.h
"
14
15
LLVM_CLANG_C_EXTERN_C_BEGIN
16
17
/**
18
* Installs error handler that prints error message to stderr and calls abort().
19
* Replaces currently installed error handler (if any).
20
*/
21
void
clang_install_aborting_llvm_fatal_error_handler
(
void
);
22
23
/**
24
* Removes currently installed error handler (if any).
25
* If no error handler is intalled, the default strategy is to print error
26
* message to stderr and call exit(1).
27
*/
28
void
clang_uninstall_llvm_fatal_error_handler
(
void
);
29
30
LLVM_CLANG_C_EXTERN_C_END
31
32
#endif
ExternC.h
LLVM_CLANG_C_EXTERN_C_END
#define LLVM_CLANG_C_EXTERN_C_END
Definition:
ExternC.h:36
LLVM_CLANG_C_EXTERN_C_BEGIN
#define LLVM_CLANG_C_EXTERN_C_BEGIN
Definition:
ExternC.h:35
clang_uninstall_llvm_fatal_error_handler
void clang_uninstall_llvm_fatal_error_handler(void)
Removes currently installed error handler (if any).
clang_install_aborting_llvm_fatal_error_handler
LLVM_CLANG_C_EXTERN_C_BEGIN void clang_install_aborting_llvm_fatal_error_handler(void)
Installs error handler that prints error message to stderr and calls abort().
Generated on Wed Mar 26 2025 12:34:52 for clang by
1.9.6