56 lines · c
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-exception6//7//===----------------------------------------------------------------------===//8 9// This file exists so that if the user wants to supply a custom atlas they can10// just replace the #include, additionally it keeps the ifdefs out of the11// converter header.12 13#ifndef LLVM_LIBC_SRC_STDIO_PRINTF_CORE_CONVERTER_ATLAS_H14#define LLVM_LIBC_SRC_STDIO_PRINTF_CORE_CONVERTER_ATLAS_H15 16// defines convert_string17#include "src/stdio/printf_core/string_converter.h"18 19// defines convert_char20#include "src/stdio/printf_core/char_converter.h"21 22// defines convert_int23#include "src/stdio/printf_core/int_converter.h"24 25#ifndef LIBC_COPT_PRINTF_DISABLE_FLOAT26// defines convert_float_decimal27// defines convert_float_dec_exp28// defines convert_float_dec_auto29#ifdef LIBC_COPT_FLOAT_TO_STR_USE_FLOAT32030#include "src/stdio/printf_core/float_dec_converter_limited.h"31#else32#include "src/stdio/printf_core/float_dec_converter.h"33#endif34// defines convert_float_hex_exp35#include "src/stdio/printf_core/float_hex_converter.h"36#endif // LIBC_COPT_PRINTF_DISABLE_FLOAT37 38#ifdef LIBC_INTERNAL_PRINTF_HAS_FIXED_POINT39// defines convert_fixed40#include "src/stdio/printf_core/fixed_converter.h"41#endif // LIBC_INTERNAL_PRINTF_HAS_FIXED_POINT42 43#ifndef LIBC_COPT_PRINTF_DISABLE_WRITE_INT44#include "src/stdio/printf_core/write_int_converter.h"45#endif // LIBC_COPT_PRINTF_DISABLE_WRITE_INT46 47// defines convert_pointer48#include "src/stdio/printf_core/ptr_converter.h"49 50#ifndef LIBC_COPT_PRINTF_DISABLE_STRERROR51// defines convert_strerror52#include "src/stdio/printf_core/strerror_converter.h"53#endif // LIBC_COPT_PRINTF_DISABLE_STRERROR54 55#endif // LLVM_LIBC_SRC_STDIO_PRINTF_CORE_CONVERTER_ATLAS_H56