clang-tools 24.0.0git
ConcurrentStringPool.h File Reference

This file defines ConcurrentStringPool, a lock-free deduplicating string saver for clang-doc. More...

#include "llvm/ADT/LazyAtomicPointer.h"
#include "llvm/ADT/SmallString.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/ADT/Twine.h"
#include "llvm/Support/Compiler.h"
#include "llvm/Support/ErrorHandling.h"
#include "llvm/Support/MathExtras.h"
#include "llvm/Support/PerThreadBumpPtrAllocator.h"
#include "llvm/Support/xxhash.h"
#include <array>
#include <cassert>
#include <cstddef>
#include <cstdint>
#include <limits>
#include <memory>
#include <string>

Go to the source code of this file.

Classes

class  clang::doc::ConcurrentStringPoolImpl< ShardBits, InitialSlabCapacity, ProbeWindow, NumLevels >
 A thread-safe string pool that deduplicates strings into a PerThreadBumpPtrAllocator. More...

Namespaces

namespace  clang
 ===– Representation.cpp - ClangDoc Representation --------—*- C++ -*-===//
namespace  clang::doc

Typedefs

using clang::doc::ConcurrentStringPool = ConcurrentStringPoolImpl<>

Detailed Description

This file defines ConcurrentStringPool, a lock-free deduplicating string saver for clang-doc.

Definition in file ConcurrentStringPool.h.