| 73 | size_t length() const { return length_; } |
| 74 | bool empty() const { return length_ == 0; } |
| 75 | char operator[](size_t pos) const { |
| 76 | #ifdef NDEBUG |
| 77 | assert(pos <= length_); |
| 78 | #endif |
| 79 | return data_[pos]; |
| 80 | } |
| 81 | |
| 82 | SmallString substr(size_t pos) const { |
| 83 | return SmallString(std::string_view(*this).substr(pos)); |
nothing calls this directly
no outgoing calls
no test coverage detected