diff options
Diffstat (limited to 'source/Utility/StringList.cpp')
-rw-r--r-- | source/Utility/StringList.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/source/Utility/StringList.cpp b/source/Utility/StringList.cpp index 190cb9d682c9..20bde1a39ac1 100644 --- a/source/Utility/StringList.cpp +++ b/source/Utility/StringList.cpp @@ -10,13 +10,13 @@ #include "lldb/Utility/StringList.h" #include "lldb/Utility/Log.h" -#include "lldb/Utility/Stream.h" // for Stream +#include "lldb/Utility/Stream.h" #include "lldb/Utility/StreamString.h" -#include "llvm/ADT/ArrayRef.h" // for ArrayRef, makeArrayRef +#include "llvm/ADT/ArrayRef.h" -#include <algorithm> // for min -#include <stdint.h> // for SIZE_MAX, uint32_t -#include <string.h> // for size_t, strcspn, NULL +#include <algorithm> +#include <stdint.h> +#include <string.h> using namespace lldb_private; @@ -83,7 +83,7 @@ size_t StringList::GetMaxStringLength() const { const char *StringList::GetStringAtIndex(size_t idx) const { if (idx < m_strings.size()) return m_strings[idx].c_str(); - return NULL; + return nullptr; } void StringList::Join(const char *separator, Stream &strm) { |