#include "lldb/Utility/ConstString.h"
#include "lldb/Utility/Stream.h"
#include "llvm/ADT/StringMap.h"
#include "llvm/ADT/iterator.h"
#include "llvm/Support/Allocator.h"
#include "llvm/Support/DJB.h"
#include "llvm/Support/FormatProviders.h"
#include "llvm/Support/RWMutex.h"
#include "llvm/Support/Threading.h"
#include <array>
#include <utility>
#include <cinttypes>
#include <cstdint>
#include <cstring>
usingnamespacelldb_private;
class Pool { … };
static Pool &StringPool() { … }
ConstString::ConstString(const char *cstr)
: … { … }
ConstString::ConstString(const char *cstr, size_t cstr_len)
: … { … }
ConstString::ConstString(llvm::StringRef s)
: … { … }
bool ConstString::operator<(ConstString rhs) const { … }
Stream &lldb_private::operator<<(Stream &s, ConstString str) { … }
size_t ConstString::GetLength() const { … }
bool ConstString::Equals(ConstString lhs, ConstString rhs,
const bool case_sensitive) { … }
int ConstString::Compare(ConstString lhs, ConstString rhs,
const bool case_sensitive) { … }
void ConstString::Dump(Stream *s, const char *fail_value) const { … }
void ConstString::DumpDebug(Stream *s) const { … }
void ConstString::SetCString(const char *cstr) { … }
void ConstString::SetString(llvm::StringRef s) { … }
void ConstString::SetStringWithMangledCounterpart(llvm::StringRef demangled,
ConstString mangled) { … }
bool ConstString::GetMangledCounterpart(ConstString &counterpart) const { … }
void ConstString::SetCStringWithLength(const char *cstr, size_t cstr_len) { … }
void ConstString::SetTrimmedCStringWithLength(const char *cstr,
size_t cstr_len) { … }
ConstString::MemoryStats ConstString::GetMemoryStats() { … }
void llvm::format_provider<ConstString>::format(const ConstString &CS,
llvm::raw_ostream &OS,
llvm::StringRef Options) { … }