llvm/llvm/unittests/DebugInfo/PDB/HashTableTest.cpp

//===- llvm/unittest/DebugInfo/PDB/HashTableTest.cpp ----------------------===//
//
// 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/DebugInfo/PDB/Native/HashTable.h"

#include "llvm/ADT/StringExtras.h"
#include "llvm/DebugInfo/PDB/Native/Hash.h"
#include "llvm/DebugInfo/PDB/Native/NamedStreamMap.h"
#include "llvm/Support/Allocator.h"
#include "llvm/Support/BinaryByteStream.h"
#include "llvm/Support/BinaryStreamReader.h"
#include "llvm/Support/BinaryStreamWriter.h"
#include "llvm/Support/StringSaver.h"
#include "llvm/Testing/Support/Error.h"

#include "gtest/gtest.h"

#include <vector>

usingnamespacellvm;
usingnamespacellvm::pdb;
usingnamespacellvm::support;

namespace {

struct IdentityHashTraits {};

template <class T = uint32_t>
class HashTableInternals : public HashTable<T> {};
}

TEST(HashTableTest, TestSimple) {}

TEST(HashTableTest, TestCollision) {}

TEST(HashTableTest, TestRemove) {}

TEST(HashTableTest, TestCollisionAfterMultipleProbes) {}

TEST(HashTableTest, Grow) {}

TEST(HashTableTest, Serialization) {}

TEST(HashTableTest, NamedStreamMap) {}

struct FooBar {};

struct FooBarHashTraits {};

TEST(HashTableTest, NonTrivialValueType) {}