llvm::sys::path::user_config_directory

Get the directory where packages should read user-specific configurations. e.g. $XDG_CONFIG_HOME.

Synopsis

Declared in <llvm/Support/Path.h>

bool
user_config_directory(SmallVectorImpl<char>& result);

Return Value

True if the appropriate path was determined, it need not exist.

Parameters

NameDescription
resultHolds the resulting path name.