diff options
Diffstat (limited to 'include/llvm/Support/Path.h')
| -rw-r--r-- | include/llvm/Support/Path.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/llvm/Support/Path.h b/include/llvm/Support/Path.h index 853f0997571c4..0513350d446bc 100644 --- a/include/llvm/Support/Path.h +++ b/include/llvm/Support/Path.h @@ -445,7 +445,8 @@ StringRef remove_leading_dotslash(StringRef path); /// @brief In-place remove any './' and optionally '../' components from a path. /// /// @param path processed path -/// @param remove_dot_dot specify if '../' should be removed +/// @param remove_dot_dot specify if '../' (except for leading "../") should be +/// removed /// @result True if path was changed bool remove_dots(SmallVectorImpl<char> &path, bool remove_dot_dot = false); |
