1 //===-- Map of converter headers in printf ----------------------*- C++ -*-===//
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
7 //===----------------------------------------------------------------------===//
9 // This file exists so that if the user wants to supply a custom atlas they can
10 // just replace the #include, additionally it keeps the ifdefs out of the
13 #ifndef LLVM_LIBC_SRC_STDIO_PRINTF_CORE_CONVERTER_ATLAS_H
14 #define LLVM_LIBC_SRC_STDIO_PRINTF_CORE_CONVERTER_ATLAS_H
16 // defines convert_string
17 #include "src/stdio/printf_core/string_converter.h"
19 // defines convert_char
20 #include "src/stdio/printf_core/char_converter.h"
22 // defines convert_int
23 #include "src/stdio/printf_core/int_converter.h"
25 #ifndef LIBC_COPT_PRINTF_DISABLE_FLOAT
26 // defines convert_float_decimal
27 // defines convert_float_dec_exp
28 // defines convert_float_dec_auto
29 #include "src/stdio/printf_core/float_dec_converter.h"
30 // defines convert_float_hex_exp
31 #include "src/stdio/printf_core/float_hex_converter.h"
32 #endif // LIBC_COPT_PRINTF_DISABLE_FLOAT
34 #ifdef LIBC_INTERNAL_PRINTF_HAS_FIXED_POINT
35 // defines convert_fixed
36 #include "src/stdio/printf_core/fixed_converter.h"
37 #endif // LIBC_INTERNAL_PRINTF_HAS_FIXED_POINT
39 #ifndef LIBC_COPT_PRINTF_DISABLE_WRITE_INT
40 #include "src/stdio/printf_core/write_int_converter.h"
41 #endif // LIBC_COPT_PRINTF_DISABLE_WRITE_INT
43 // defines convert_pointer
44 #include "src/stdio/printf_core/ptr_converter.h"
46 #ifndef LIBC_COPT_PRINTF_DISABLE_STRERROR
47 // defines convert_strerror
48 #include "src/stdio/printf_core/strerror_converter.h"
49 #endif // LIBC_COPT_PRINTF_DISABLE_STRERROR
51 #endif // LLVM_LIBC_SRC_STDIO_PRINTF_CORE_CONVERTER_ATLAS_H