[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:02:18 PDT 2026


hawkinsw wrote:

> It appears that both spellings are correct, but "null terminator" is far more common, while "NUL terminator" is technically precise regarding the ASCII character name. Most common in LLDB was "NULL terminated" which is the worst of both worlds. This rallies around "null-terminated".
> 
>     * Adjective → null-terminated
> 
>     * Verb → null-terminate
> 
>     * Nouns left unhyphenated but lowercased: null terminator, null termination

Overall, I believe that these spellings are the "best ones". Thank you for stating it so clearly. 

Is there a place in the LLDB developer documentation where we could cement this policy in writing? If no such place currently exists, I'd be happy to take the action of starting something like it as a separate PR. 

https://github.com/llvm/llvm-project/pull/224801


More information about the lldb-commits mailing list