xref: /freebsd/contrib/llvm-project/libcxx/include/__exception/terminate.h (revision 397e83df75e0fcd0d3fcb95ae4d794cb7600fc89)
1 //===----------------------------------------------------------------------===//
2 //
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //
7 //===----------------------------------------------------------------------===//
8 
9 #ifndef _LIBCPP___EXCEPTION_TERMINATE_H
10 #define _LIBCPP___EXCEPTION_TERMINATE_H
11 
12 #include <__config>
13 
14 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
15 #  pragma GCC system_header
16 #endif
17 
18 namespace std { // purposefully not using versioning namespace
19 _LIBCPP_NORETURN _LIBCPP_EXPORTED_FROM_ABI void terminate() _NOEXCEPT;
20 } // namespace std
21 
22 #endif // _LIBCPP___EXCEPTION_TERMINATE_H
23