[Lldb-commits] [lldb] f0fd1ee - [lldb][NFC] Correct documentation for FileSpec::GetFileNameExtension (#205871)
via lldb-commits
lldb-commits at lists.llvm.org
Thu Jun 25 12:52:49 PDT 2026
Author: Alex Langford
Date: 2026-06-25T12:52:44-07:00
New Revision: f0fd1ee64993eca0acb9d847ebf351ed7eb10bac
URL: https://github.com/llvm/llvm-project/commit/f0fd1ee64993eca0acb9d847ebf351ed7eb10bac
DIFF: https://github.com/llvm/llvm-project/commit/f0fd1ee64993eca0acb9d847ebf351ed7eb10bac.diff
LOG: [lldb][NFC] Correct documentation for FileSpec::GetFileNameExtension (#205871)
Added:
Modified:
lldb/include/lldb/Utility/FileSpec.h
Removed:
################################################################################
diff --git a/lldb/include/lldb/Utility/FileSpec.h b/lldb/include/lldb/Utility/FileSpec.h
index 3cdf340cd8034..9140e98c880a2 100644
--- a/lldb/include/lldb/Utility/FileSpec.h
+++ b/lldb/include/lldb/Utility/FileSpec.h
@@ -326,9 +326,9 @@ class FileSpec {
/// Extract the extension of the file.
///
- /// Returns a ConstString that represents the extension of the filename for
+ /// Returns a StringRef that represents the extension of the filename for
/// this FileSpec object. If this object does not represent a file, or the
- /// filename has no extension, ConstString(nullptr) is returned. The dot
+ /// filename has no extension, an empty StringRef is returned. The dot
/// ('.') character is the first character in the returned string.
///
/// \return Returns the extension of the file as a StringRef.
More information about the lldb-commits
mailing list