class StringSet

Declaration

template <class AllocatorTy = llvm::MallocAllocator>
class StringSet { /* full declaration omitted */ };

Description

StringSet - A wrapper for StringMap that provides set-like functionality.

Declared at: llvm/include/llvm/ADT/StringSet.h:27

Templates

AllocatorTy = llvm::MallocAllocator

Method Overview

  • public StringSet<AllocatorTy>()
  • public StringSet<AllocatorTy>(std::initializer_list<StringRef> S)
  • public StringSet<AllocatorTy>(AllocatorTy A)
  • public std::pair<typename base::iterator, bool> insert(llvm::StringRef Key)
  • public template <typename InputIt>void insert(const InputIt & Begin, const InputIt & End)
  • public template <typename ValueTy>std::pair<typename base::iterator, bool> insert(const StringMapEntry<ValueTy> & MapEntry)

Methods

StringSet<AllocatorTy>()

Declared at: llvm/include/llvm/ADT/StringSet.h:31

StringSet<AllocatorTy>(
    std::initializer_list<StringRef> S)

Declared at: llvm/include/llvm/ADT/StringSet.h:32

Parameters

std::initializer_list<StringRef> S

StringSet<AllocatorTy>(AllocatorTy A)

Declared at: llvm/include/llvm/ADT/StringSet.h:36

Parameters

AllocatorTy A

std::pair<typename base::iterator, bool> insert(
    llvm::StringRef Key)

Declared at: llvm/include/llvm/ADT/StringSet.h:38

Parameters

llvm::StringRef Key

template <typename InputIt>
void insert(const InputIt& Begin,
            const InputIt& End)

Declared at: llvm/include/llvm/ADT/StringSet.h:44

Templates

InputIt

Parameters

const InputIt& Begin
const InputIt& End

template <typename ValueTy>
std::pair<typename base::iterator, bool> insert(
    const StringMapEntry<ValueTy>& MapEntry)

Declared at: llvm/include/llvm/ADT/StringSet.h:51

Templates

ValueTy

Parameters

const StringMapEntry<ValueTy>& MapEntry