mirror of
https://github.com/intel/llvm.git
synced 2026-01-18 07:57:36 +08:00
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
This commit is contained in:
@@ -12,13 +12,14 @@
|
||||
#include "lldb/Utility/DataBuffer.h"
|
||||
#include "lldb/Utility/Endian.h"
|
||||
|
||||
#include "llvm/Support/ErrorHandling.h" // for llvm_unreachable
|
||||
#include "llvm/Support/MathExtras.h"
|
||||
|
||||
// C Includes
|
||||
// C++ Includes
|
||||
#include <cassert>
|
||||
#include <cstddef>
|
||||
|
||||
#include <string.h>
|
||||
|
||||
using namespace lldb;
|
||||
using namespace lldb_private;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user