Debian Codegraph @

libc/utils/hdrgen/tests/expected_output/test_header.h

raw
1 //===-- C standard library header test_small-------------------------------===//
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 LLVM_LIBC_TEST_SMALL_H
10 #define LLVM_LIBC_TEST_SMALL_H
11
12 #include "__llvm-libc-common.h"
13 #include "llvm-libc-macros/float16-macros.h"
14
15 #include "llvm-libc-macros/CONST_FUNC_A.h"
16 #include "llvm-libc-macros/test_more-macros.h"
17 #include "llvm-libc-macros/test_small-macros.h"
18 #include "llvm-libc-types/float128.h"
19 #include "llvm-libc-types/type_a.h"
20 #include "llvm-libc-types/type_b.h"
21
22 #define MACRO_A 1
23
24 #define MACRO_B 2
25
26 #define MACRO_C
27
28 enum {
29 enum_a = value_1,
30 enum_b = value_2,
31 };
32
33 __BEGIN_C_DECLS
34
35 CONST_FUNC_A void func_a(void) __NOEXCEPT;
36
37 #ifdef LIBC_TYPES_HAS_FLOAT128
38 float128 func_b(void) __NOEXCEPT;
39 #endif // LIBC_TYPES_HAS_FLOAT128
40
41 #ifdef LIBC_TYPES_HAS_FLOAT16
42 _Float16 func_c(int, float) __NOEXCEPT;
43
44 _Float16 func_d(int, float) __NOEXCEPT;
45 #endif // LIBC_TYPES_HAS_FLOAT16
46
47 #ifdef LIBC_TYPES_HAS_FLOAT16_AND_FLOAT128
48 _Float16 func_e(float128) __NOEXCEPT;
49 #endif // LIBC_TYPES_HAS_FLOAT16_AND_FLOAT128
50
51 extern obj object_1;
52 extern obj object_2;
53
54 __END_C_DECLS
55
56 #endif // LLVM_LIBC_TEST_SMALL_H