llvm/clang-tools-extra/unittests/clang-tidy/ModernizeModuleTest.cpp

//===---- ModernizeModuleTest.cpp - clang-tidy ----------------------------===//
//
// 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 "ClangTidyTest.h"
#include "modernize/IntegralLiteralExpressionMatcher.h"
#include "clang/Lex/Lexer.h"
#include "gtest/gtest.h"

#include <cstring>
#include <iterator>
#include <string>
#include <vector>

namespace clang {
namespace tidy {
namespace test {

static std::vector<Token> tokenify(const char *Text) {}

static bool matchText(const char *Text, bool AllowComma) {}

static modernize::LiteralSize sizeText(const char *Text) {}

static const char *toString(modernize::LiteralSize Value) {}

namespace {

struct MatchParam {};

struct SizeParam {};

class MatcherTest : public ::testing::TestWithParam<MatchParam> {};

class SizeTest : public ::testing::TestWithParam<SizeParam> {};

} // namespace

static const MatchParam MatchParams[] =;

TEST_P(MatcherTest, MatchResult) {}

INSTANTIATE_TEST_SUITE_P();

static const SizeParam SizeParams[] =;

TEST_P(SizeTest, TokenSize) {}

INSTANTIATE_TEST_SUITE_P();

} // namespace test
} // namespace tidy
} // namespace clang