summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/llvm/Support/Path.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/llvm/Support/Path.h b/include/llvm/Support/Path.h
index a70498a3cc..f9a65e533a 100644
--- a/include/llvm/Support/Path.h
+++ b/include/llvm/Support/Path.h
@@ -111,6 +111,7 @@ inline reverse_iterator rend(StringRef path) {
/// @code
/// directory/filename.cpp => directory/
/// directory/ => directory
+/// filename.cpp => <empty>
/// / => /
/// @endcode
///