class PooledStringPtr

Declaration

class PooledStringPtr { /* full declaration omitted */ };

Description

PooledStringPtr - A pointer to an interned string. Use operator bool to test whether the pointer is valid, and operator * to get the string if so. This is a lightweight value class with storage requirements equivalent to a single pointer, but it does have reference-counting overhead when copied.

Declared at: llvm/include/llvm/Support/StringPool.h:78

Method Overview

Methods

PooledStringPtr()

Declared at: llvm/include/llvm/Support/StringPool.h:84

PooledStringPtr(llvm::PooledStringPtr::entry_t* E)

Declared at: llvm/include/llvm/Support/StringPool.h:86

Parameters

llvm::PooledStringPtr::entry_t* E

PooledStringPtr(const llvm::PooledStringPtr& That)

Declared at: llvm/include/llvm/Support/StringPool.h:90

Parameters

const llvm::PooledStringPtr& That

inline const char* begin() const

Declared at: llvm/include/llvm/Support/StringPool.h:115

void clear()

Declared at: llvm/include/llvm/Support/StringPool.h:103

inline const char* end() const

Declared at: llvm/include/llvm/Support/StringPool.h:120

inline bool operator bool() const

Declared at: llvm/include/llvm/Support/StringPool.h:131

inline unsigned int size() const

Declared at: llvm/include/llvm/Support/StringPool.h:125

~PooledStringPtr()

Declared at: llvm/include/llvm/Support/StringPool.h:113