#include "src/__support/CPP/bit.h"
#include "src/__support/CPP/string_view.h"
#include "src/__support/arg_list.h"
#include "src/stdio/printf_core/parser.h"
#include <stdarg.h>
#include "test/UnitTest/PrintfMatcher.h"
#include "test/UnitTest/Test.h"
string_view;
ArgList;
void init(const char *__restrict str, ...) { … }
void evaluate(LIBC_NAMESPACE::printf_core::FormatSection *format_arr,
const char *__restrict str, ...) { … }
TEST(LlvmLibcPrintfParserTest, Constructor) { … }
TEST(LlvmLibcPrintfParserTest, EvalRaw) { … }
TEST(LlvmLibcPrintfParserTest, EvalSimple) { … }
TEST(LlvmLibcPrintfParserTest, EvalOneArg) { … }
TEST(LlvmLibcPrintfParserTest, EvalBadArg) { … }
TEST(LlvmLibcPrintfParserTest, EvalOneArgWithFlags) { … }
TEST(LlvmLibcPrintfParserTest, EvalOneArgWithWidth) { … }
TEST(LlvmLibcPrintfParserTest, EvalOneArgWithPrecision) { … }
TEST(LlvmLibcPrintfParserTest, EvalOneArgWithTrivialPrecision) { … }
TEST(LlvmLibcPrintfParserTest, EvalOneArgWithShortLengthModifier) { … }
TEST(LlvmLibcPrintfParserTest, EvalOneArgWithLongLengthModifier) { … }
TEST(LlvmLibcPrintfParserTest, EvalOneArgWithBitWidthLengthModifier) { … }
TEST(LlvmLibcPrintfParserTest, EvalOneArgWithFastBitWidthLengthModifier) { … }
TEST(LlvmLibcPrintfParserTest, EvalOneArgWithAllOptions) { … }
TEST(LlvmLibcPrintfParserTest, EvalThreeArgs) { … }
TEST(LlvmLibcPrintfParserTest, EvalOneArgWithOverflowingWidthAndPrecision) { … }
TEST(LlvmLibcPrintfParserTest,
EvalOneArgWithOverflowingWidthAndPrecisionAsArgs) { … }
#ifndef LIBC_COPT_PRINTF_DISABLE_INDEX_MODE
TEST(LlvmLibcPrintfParserTest, IndexModeOneArg) { … }
TEST(LlvmLibcPrintfParserTest, IndexModeThreeArgsSequential) { … }
TEST(LlvmLibcPrintfParserTest, IndexModeThreeArgsReverse) { … }
TEST(LlvmLibcPrintfParserTest, IndexModeTenArgsRandom) { … }
TEST(LlvmLibcPrintfParserTest, IndexModeComplexParsing) { … }
TEST(LlvmLibcPrintfParserTest, IndexModeGapCheck) { … }
TEST(LlvmLibcPrintfParserTest, IndexModeTrailingPercentCrash) { … }
TEST(LlvmLibcPrintfParserTest, DoublePercentIsAllowedInvalidIndex) { … }
#endif