Append to path.
Declared in <llvm/Support/Path.h>
void
append(
SmallVectorImpl<char>& path,
Twine const& a,
Twine const& b = "",
Twine const& c = "",
Twine const& d = "");
/foo + bar/f => /foo/bar/f
/foo/ + bar/f => /foo/bar/f
foo + bar/f => foo/bar/f
foo + /bar/f => foo/bar/f (FIXME: will be changed to /bar/f to align
with C++17 std::filesystem::path::append)
| Name | Description |
|---|---|
| path | Set to path + component. |
| a | The component to be appended to path. |
| b | Twine - A lightweight data structure for efficiently representing the concatenation of temporary values as strings. |
| c | Twine - A lightweight data structure for efficiently representing the concatenation of temporary values as strings. |
| d | Twine - A lightweight data structure for efficiently representing the concatenation of temporary values as strings. |