ΒΆstd::error_code make_absolute(
SmallVectorImpl<char>& path)
std::error_code make_absolute(
SmallVectorImpl<char>& path)
Description
Make \a path an absolute path. Makes \a path absolute using the current directory if it is not already. An empty \a path will result in the current directory. /absolute/path => /absolute/path relative/../path => <current -directory>/relative/../path
Declared at: llvm/include/llvm/Support/FileSystem.h:317
Parameters
- SmallVectorImpl<char>& path
- A path that is modified to be an absolute path.
Returns
errc::success if \a path has been made absolute, otherwise a platform-specific error_code.