Clarify comment for extension().
authorRui Ueyama <ruiu@google.com>
Fri, 19 Jul 2013 00:51:17 +0000 (00:51 +0000)
committerRui Ueyama <ruiu@google.com>
Fri, 19 Jul 2013 00:51:17 +0000 (00:51 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@186636 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Support/Path.h

index a70498a3cc89567598b90e489af082afdc3b7e1b..f9a65e533a9fc1ad5481218f6a4722095cc501f3 100644 (file)
@@ -111,6 +111,7 @@ inline reverse_iterator rend(StringRef path) {
 /// @code
 ///   directory/filename.cpp => directory/
 ///   directory/             => directory
+///   filename.cpp           => <empty>
 ///   /                      => /
 /// @endcode
 ///