diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2017-01-02 19:17:04 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2017-01-02 19:17:04 +0000 |
commit | b915e9e0fc85ba6f398b3fab0db6a81a8913af94 (patch) | |
tree | 98b8f811c7aff2547cab8642daf372d6c59502fb /include/llvm/Support/Path.h | |
parent | 6421cca32f69ac849537a3cff78c352195e99f1b (diff) |
Notes
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 853f0997571c..0513350d446b 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); |