| 1 | /*===---- stddefer.h - Standard header for 'defer' -------------------------=== |
| 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 | |
| 10 | #ifndef __CLANG_STDDEFER_H |
| 11 | #define __CLANG_STDDEFER_H |
| 12 | |
| 13 | /* Provide 'defer' if '_Defer' is supported. */ |
| 14 | #ifdef __STDC_DEFER_TS25755__ |
| 15 | #define __STDC_VERSION_STDDEFER_H__ 202602L |
| 16 | #define defer _Defer |
| 17 | #endif |
| 18 | |
| 19 | #endif /* __CLANG_STDDEFER_H */ |