|
LLDB mainline
|
A handle to a StringPool that does not own it. More...
#include <StringPool.h>
Public Member Functions | |
| StringPoolRef () | |
| Refers to the global pool. | |
| StringPoolRef (StringPool &pool) | |
| const char * | Intern (llvm::StringRef str) const |
| const char * | InternNonEmpty (llvm::StringRef str) const |
| Like Intern, but an empty string yields nullptr. | |
Private Attributes | |
| StringPool * | m_pool |
A handle to a StringPool that does not own it.
Definition at line 72 of file StringPool.h.
|
inline |
|
inlineexplicit |
Definition at line 76 of file StringPool.h.
References m_pool.
|
inline |
Definition at line 78 of file StringPool.h.
References m_pool.
Referenced by lldb::SBEnvironment::Get(), lldb::SBProcessInfo::GetArg0(), lldb::SBLaunchInfo::GetArgumentAtIndex(), lldb::SBProcessInfo::GetArgumentAtIndex(), lldb::SBPlatformShellCommand::GetCommand(), lldb::SBFileSpec::GetDirectory(), lldb::SBLaunchInfo::GetEnvironmentEntryAtIndex(), lldb::SBPlatform::GetHostname(), lldb::SBLaunchInfo::GetLaunchEventData(), lldb::SBBroadcaster::GetName(), lldb::SBProcessInfo::GetName(), lldb::SBEnvironment::GetNameAtIndex(), lldb::SBPlatform::GetOSBuild(), lldb::SBPlatform::GetOSDescription(), lldb::SBPlatformShellCommand::GetOutput(), lldb::SBExpressionOptions::GetPrefix(), lldb::SBAttachInfo::GetProcessPluginName(), lldb::SBLaunchInfo::GetProcessPluginName(), lldb::SBPlatformShellCommand::GetShell(), lldb::SBData::GetString(), lldb::SBPlatform::GetTriple(), lldb::SBProcessInfo::GetTriple(), lldb::SBPlatformConnectOptions::GetURL(), lldb::SBModule::GetUUIDString(), lldb::SBEnvironment::GetValueAtIndex(), lldb::SBPlatformShellCommand::GetWorkingDirectory(), and InternNonEmpty().
|
inline |
Like Intern, but an empty string yields nullptr.
Definition at line 81 of file StringPool.h.
References Intern().
Referenced by lldb::SBLanguageRuntime::GetCatchKeywordForLanguage(), lldb::SBFileSpec::GetFilename(), lldb::SBPlatform::GetName(), lldb::SBLanguageRuntime::GetThrowKeywordForLanguage(), lldb::SBLaunchInfo::GetWorkingDirectory(), and lldb::SBPlatform::GetWorkingDirectory().
|
private |
Definition at line 86 of file StringPool.h.
Referenced by Intern(), StringPoolRef(), and StringPoolRef().