]> granicus.if.org Git - llvm/commitdiff
iwyu fixes for lldbCore.
authorZachary Turner <zturner@google.com>
Thu, 6 Apr 2017 21:28:29 +0000 (21:28 +0000)
committerZachary Turner <zturner@google.com>
Thu, 6 Apr 2017 21:28:29 +0000 (21:28 +0000)
This adjusts header file includes for headers and source files
in Core.  In doing so, one dependency cycle is eliminated
because all the includes from Core to that project were dead
includes anyway.  In places where some files in other projects
were only compiling due to a transitive include from another
header, fixups have been made so that those files also include
the header they need.  Tested on Windows and Linux, and plan
to address failures on OSX and FreeBSD after watching the
bots.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@299714 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Support/Endian.h

index 5619c75f09f22bda8ceb7548d6b21d9e52e21169..06e089ffa166f6efd03ee0ae473cbead75464aa4 100644 (file)
@@ -17,6 +17,8 @@
 #include "llvm/Support/Host.h"
 #include "llvm/Support/SwapByteOrder.h"
 
+#include <stdint.h>
+
 namespace llvm {
 namespace support {
 enum endianness {big, little, native};