llvm/llvm/unittests/Support/ScopedPrinterTest.cpp

//===- llvm/unittest/Support/ScopedPrinterTest.cpp - ScopedPrinter tests --===//
//
// 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
//
//===----------------------------------------------------------------------===//

#include "llvm/Support/ScopedPrinter.h"
#include "llvm/ADT/APSInt.h"
#include "llvm/Support/Format.h"
#include "gtest/gtest.h"
#include <cmath>
#include <vector>

usingnamespacellvm;

TEST(JSONScopedPrinterTest, PrettyPrintCtor) {}

TEST(JSONScopedPrinterTest, DelimitedScopeCtor) {}

class ScopedPrinterTest : public ::testing::Test {};

TEST_F(ScopedPrinterTest, GetKind) {}

TEST_F(ScopedPrinterTest, ClassOf) {}

TEST_F(ScopedPrinterTest, Indent) {}

TEST_F(ScopedPrinterTest, Unindent) {}

TEST_F(ScopedPrinterTest, ResetIndent) {}

TEST_F(ScopedPrinterTest, PrintIndent) {}

TEST_F(ScopedPrinterTest, GetIndentLevel) {}

TEST_F(ScopedPrinterTest, SetPrefix) {}

TEST_F(ScopedPrinterTest, PrintEnum) {}

TEST_F(ScopedPrinterTest, PrintFlag) {}

// Format floats using the same format string as PrintNumber, so we can check
// the output on all platforms.
template <typename T,
          std::enable_if_t<std::is_floating_point_v<T>, bool> = true>
std::string formatFloatString(T Val) {}

// Format floats using the same format string used in JSON, so we can check the
// output on all platforms.
template <typename T,
          std::enable_if_t<std::is_floating_point_v<T>, bool> = true>
std::string formatJsonFloatString(T Val) {}

TEST_F(ScopedPrinterTest, PrintNumber) {}

TEST_F(ScopedPrinterTest, PrintBoolean) {}

TEST_F(ScopedPrinterTest, PrintVersion) {}

TEST_F(ScopedPrinterTest, PrintList) {}

TEST_F(ScopedPrinterTest, PrintListPrinter) {}

TEST_F(ScopedPrinterTest, PrintHex) {}

TEST_F(ScopedPrinterTest, PrintHexList) {}

TEST_F(ScopedPrinterTest, PrintSymbolOffset) {}

TEST_F(ScopedPrinterTest, PrintString) {}

TEST_F(ScopedPrinterTest, PrintBinary) {}

TEST_F(ScopedPrinterTest, PrintObject) {}

TEST_F(ScopedPrinterTest, StartLine) {}

TEST_F(ScopedPrinterTest, GetOStream) {}

TEST_F(ScopedPrinterTest, PrintScope) {}