diff options
author | Zachary Turner <zturner@google.com> | 2017-04-06 18:12:24 +0000 |
---|---|---|
committer | Zachary Turner <zturner@google.com> | 2017-04-06 18:12:24 +0000 |
commit | 4479ac15c93fa88e1e0b3c92118412cbccc2b839 (patch) | |
tree | 6c98f2d056f6a1468e612d114ca31b5a1f3e20ee /lldb/source/Utility/ConstString.cpp | |
parent | 01220bf9d271717b781e2704febedb0da13b7f95 (diff) | |
download | bcm5719-llvm-4479ac15c93fa88e1e0b3c92118412cbccc2b839.tar.gz bcm5719-llvm-4479ac15c93fa88e1e0b3c92118412cbccc2b839.zip |
iwyu fixes on lldbUtility.
This patch makes adjustments to header file includes in
lldbUtility based on recommendations by the iwyu tool
(include-what-you-use). The goal here is to make sure that
all files include the exact set of headers which are needed
for that file only, to eliminate cases of dead includes (e.g.
someone deleted some code but forgot to delete the header
includes that that code necessitated), and to eliminate the
case where header includes are picked up transitively.
llvm-svn: 299676
Diffstat (limited to 'lldb/source/Utility/ConstString.cpp')
-rw-r--r-- | lldb/source/Utility/ConstString.cpp | 20 |
1 files changed, 12 insertions, 8 deletions
diff --git a/lldb/source/Utility/ConstString.cpp b/lldb/source/Utility/ConstString.cpp index f8e0075e390..8adeb6f364e 100644 --- a/lldb/source/Utility/ConstString.cpp +++ b/lldb/source/Utility/ConstString.cpp @@ -9,19 +9,23 @@ #include "lldb/Utility/ConstString.h" -// C Includes -// C++ Includes -#include <array> -#include <mutex> +#include "lldb/Utility/Stream.h" -// Other libraries and framework includes #include "llvm/ADT/StringExtras.h" #include "llvm/ADT/StringMap.h" +#include "llvm/ADT/iterator.h" // for iterator_facade_base +#include "llvm/Support/Allocator.h" // for BumpPtrAllocator +#include "llvm/Support/FormatProviders.h" // for format_provider #include "llvm/Support/RWMutex.h" - -// Project includes #include "llvm/Support/Threading.h" -#include "lldb/Utility/Stream.h" + +#include <algorithm> // for min +#include <array> +#include <utility> // for make_pair, pair + +#include <inttypes.h> // for PRIu64 +#include <stdint.h> // for uint8_t, uint32_t, uint64_t +#include <string.h> // for size_t, strlen using namespace lldb_private; |