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 #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 33 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 38 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 42 43 // defines convert_pointer 44 #include "src/stdio/printf_core/ptr_converter.h" 45 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 50 51 #endif // LLVM_LIBC_SRC_STDIO_PRINTF_CORE_CONVERTER_ATLAS_H 52