Expands ~ expressions to the user's home directory. On Unix ~user directories are resolved as well.

Synopsis

Declared in <llvm/Support/FileSystem.h>

void
expand_tilde(
    Twine const& path,
    SmallVectorImpl<char>& output);

Parameters

Name

Description

path

The path to resolve.

output

Location to store the expanded path.

Created with MrDocs