1 //===-- Map of converter headers in printf ----------------------*- C++ -*-===//
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 // 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
11 // converter header.
12 
13 #ifndef LLVM_LIBC_SRC_STDIO_PRINTF_CORE_CONVERTER_ATLAS_H
14 #define LLVM_LIBC_SRC_STDIO_PRINTF_CORE_CONVERTER_ATLAS_H
15 
16 // defines convert_string
17 #include "src/stdio/printf_core/string_converter.h"
18 
19 // defines convert_char
20 #include "src/stdio/printf_core/char_converter.h"
21 
22 // defines convert_int
23 #include "src/stdio/printf_core/int_converter.h"
24 
25 // defines convert_oct
26 #include "src/stdio/printf_core/oct_converter.h"
27 // defines convert_hex
28 #include "src/stdio/printf_core/hex_converter.h"
29 
30 // TODO(michaelrj): add a flag to disable float point values here
31 // defines convert_float_decimal
32 // defines convert_float_dec_exp
33 // defines convert_float_hex_exp
34 // defines convert_float_mixed
35 
36 #ifndef LLVM_LIBC_PRINTF_DISABLE_WRITE_INT
37 #include "src/stdio/printf_core/write_int_converter.h"
38 #endif // LLVM_LIBC_PRINTF_DISABLE_WRITE_INT
39 
40 // defines convert_pointer
41 #include "src/stdio/printf_core/ptr_converter.h"
42 
43 #endif // LLVM_LIBC_SRC_STDIO_PRINTF_CORE_CONVERTER_ATLAS_H
44