Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / libcxx / include / csetjmp
blobd219c8e6cb2250656cd942aa3a268f84b55c6a9a
1 // -*- C++ -*-
2 //===----------------------------------------------------------------------===//
3 //
4 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
5 // See https://llvm.org/LICENSE.txt for license information.
6 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //
8 //===----------------------------------------------------------------------===//
10 #ifndef _LIBCPP_CSETJMP
11 #define _LIBCPP_CSETJMP
14     csetjmp synopsis
16 Macros:
18     setjmp
20 namespace std
23 Types:
25     jmp_buf
27 void longjmp(jmp_buf env, int val);
29 }  // std
33 #include <__assert> // all public C++ headers provide the assertion handler
34 #include <__config>
36 #include <setjmp.h>
38 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
39 #  pragma GCC system_header
40 #endif
42 _LIBCPP_BEGIN_NAMESPACE_STD
44 using ::jmp_buf _LIBCPP_USING_IF_EXISTS;
45 using ::longjmp _LIBCPP_USING_IF_EXISTS;
47 _LIBCPP_END_NAMESPACE_STD
49 #endif // _LIBCPP_CSETJMP