ΒΆvoid make_absolute(
    const llvm::Twine& current_directory,
    SmallVectorImpl<char>& path)

Description

Make \a path an absolute path. Makes \a path absolute using the \a current_directory if it is not already. An empty \a path will result in the \a current_directory. /absolute/path => /absolute/path relative/../path => <current -directory>/relative/../path

Declared at: llvm/include/llvm/Support/FileSystem.h:284

Parameters

const llvm::Twine& current_directory
SmallVectorImpl<char>& path
A path that is modified to be an absolute path.