[Lldb-commits] [lldb] [lldb] Consistently use "null-terminated" across LLDB (NFC) (PR #224801)
Will Hawkins via lldb-commits
lldb-commits at lists.llvm.org
Fri Sep 18 22:13:23 PDT 2026
================
@@ -144,12 +144,12 @@ TEST(DataEncoderTest, AppendCString) {
// does contain a NULL in the referenced string.
encoder.AppendCString(StringRef("\0", 1));
ASSERT_EQ(encoder.GetData(), ArrayRef<uint8_t>({0x00, 0x00}));
- // Append a string where the StringRef doesn't contain a NULL termination
- // and verify the NULL terminate gets added
+ // Append a string where the StringRef doesn't contain a null termination
----------------
hawkinsw wrote:
```suggestion
// Append a string where the StringRef doesn't contain a null terminator
```
Not sure why, but that just feels better.
https://github.com/llvm/llvm-project/pull/224801
More information about the lldb-commits
mailing list