#include "lldb/Utility/TildeExpressionResolver.h"
#include <cassert>
#include <system_error>
#include "llvm/ADT/STLExtras.h"
#include "llvm/ADT/SmallVector.h"
#include "llvm/Support/FileSystem.h"
#include "llvm/Support/Path.h"
#include "llvm/Support/raw_ostream.h"
#if !defined(_WIN32)
#include <pwd.h>
#endif
usingnamespacelldb_private;
usingnamespacellvm;
fs;
path;
TildeExpressionResolver::~TildeExpressionResolver() = default;
bool StandardTildeExpressionResolver::ResolveExact(
StringRef Expr, SmallVectorImpl<char> &Output) { … }
bool StandardTildeExpressionResolver::ResolvePartial(StringRef Expr,
StringSet<> &Output) { … }
bool TildeExpressionResolver::ResolveFullPath(
StringRef Expr, llvm::SmallVectorImpl<char> &Output) { … }