LLVM: llvm::remarks::ParsedStringTable Struct Reference (original) (raw)
In-memory representation of the string table parsed from a buffer (e.g. More...
#include "[llvm/Remarks/RemarkParser.h](RemarkParser%5F8h%5Fsource.html)"
| Public Member Functions | |
|---|---|
| LLVM_ABI | ParsedStringTable (StringRef Buffer) |
| ParsedStringTable (const ParsedStringTable &)=delete | |
| Disable copy. | |
| ParsedStringTable & | operator= (const ParsedStringTable &)=delete |
| ParsedStringTable (ParsedStringTable &&)=default | |
| Should be movable. | |
| ParsedStringTable & | operator= (ParsedStringTable &&)=default |
| size_t | size () const |
| LLVM_ABI Expected< StringRef > | operator[] (size_t Index) const |
| Public Attributes | |
|---|---|
| StringRef | Buffer |
| The buffer mapped from the section contents. | |
| std::vector< size_t > | Offsets |
| This object has high changes to be std::move'd around, so don't use a SmallVector for once. |
In-memory representation of the string table parsed from a buffer (e.g.
the remarks section).
Definition at line 61 of file RemarkParser.h.
| ParsedStringTable::ParsedStringTable | ( | StringRef | Buffer | ) |
|---|
◆ ParsedStringTable() [2/3]
◆ ParsedStringTable() [3/3]
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ operator[]()
◆ size()
| size_t llvm::remarks::ParsedStringTable::size ( ) const | inline |
|---|
◆ Buffer
StringRef llvm::remarks::ParsedStringTable::Buffer
◆ Offsets
std::vector<size_t> llvm::remarks::ParsedStringTable::Offsets
The documentation for this struct was generated from the following files:
- include/llvm/Remarks/RemarkParser.h
- lib/Remarks/RemarkParser.cpp