//===-- Core Structures for scanf ------------------------------*- C++ -*-===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// #ifndef LLVM_LIBC_SRC_STDIO_SCANF_CORE_CORE_STRUCTS_H #define LLVM_LIBC_SRC_STDIO_SCANF_CORE_CORE_STRUCTS_H #include "src/__support/CPP/bitset.h" #include "src/__support/CPP/string_view.h" #include "src/__support/macros/config.h" #include <inttypes.h> #include <stddef.h> namespace LIBC_NAMESPACE_DECL { namespace scanf_core { // These length modifiers match the length modifiers in the format string, which // is why they are formatted differently from the rest of the file. enum class LengthModifier { … }; enum FormatFlags : uint8_t { … }; struct FormatSection { … }; enum ErrorCodes : int { … }; } // namespace scanf_core } // namespace LIBC_NAMESPACE_DECL #endif // LLVM_LIBC_SRC_STDIO_SCANF_CORE_CORE_STRUCTS_H