llvm/clang/unittests/Driver/MultilibTest.cpp

//===- unittests/Driver/MultilibTest.cpp --- Multilib 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
//
//===----------------------------------------------------------------------===//
//
// Unit tests for Multilib and MultilibSet
//
//===----------------------------------------------------------------------===//

#include "clang/Driver/Multilib.h"
#include "../../lib/Driver/ToolChains/CommonArgs.h"
#include "clang/Basic/LLVM.h"
#include "clang/Basic/Version.h"
#include "llvm/ADT/ArrayRef.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/ADT/StringSwitch.h"
#include "llvm/Support/SourceMgr.h"
#include "gtest/gtest.h"

usingnamespaceclang::driver;
usingnamespaceclang;

TEST(MultilibTest, OpEqReflexivity1) {}

TEST(MultilibTest, OpEqReflexivity2) {}

TEST(MultilibTest, OpEqReflexivity3) {}

TEST(MultilibTest, OpEqInequivalence1) {}

TEST(MultilibTest, OpEqInequivalence2) {}

TEST(MultilibTest, OpEqEquivalence2) {}

TEST(MultilibTest, OpEqEquivalence3) {}

TEST(MultilibTest, OpEqEquivalence4) {}

TEST(MultilibTest, OpEqInequivalence3) {}

TEST(MultilibTest, OpEqInequivalence4) {}

TEST(MultilibTest, OpEqInequivalence5) {}

TEST(MultilibTest, Construction1) {}

TEST(MultilibTest, Construction2) {}

TEST(MultilibTest, Construction3) {}

TEST(MultilibTest, SetPushback) {}

TEST(MultilibTest, SetPriority) {}

TEST(MultilibTest, SelectMultiple) {}

static void diagnosticCallback(const llvm::SMDiagnostic &D, void *Out) {}

static bool parseYaml(MultilibSet &MS, std::string &Diagnostic,
                      const char *Data) {}

static bool parseYaml(MultilibSet &MS, const char *Data) {}

// When updating this version also update MultilibVersionCurrent in Multilib.cpp
#define YAML_PREAMBLE

TEST(MultilibTest, ParseInvalid) {}

TEST(MultilibTest, Parse) {}

TEST(MultilibTest, SelectSoft) {}

TEST(MultilibTest, SelectSoftFP) {}

TEST(MultilibTest, SelectHard) {}

TEST(MultilibTest, SelectFloatABI) {}

TEST(MultilibTest, SelectFloatABIReversed) {}

TEST(MultilibTest, SelectMClass) {}