[llvm] r299714 - iwyu fixes for lldbCore.

Zachary Turner via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 6 14:28:35 PDT 2017


Author: zturner
Date: Thu Apr  6 16:28:29 2017
New Revision: 299714

URL: http://llvm.org/viewvc/llvm-project?rev=299714&view=rev
Log:
iwyu fixes for lldbCore.

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.

Modified:
    llvm/trunk/include/llvm/Support/Endian.h

Modified: llvm/trunk/include/llvm/Support/Endian.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Support/Endian.h?rev=299714&r1=299713&r2=299714&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Support/Endian.h (original)
+++ llvm/trunk/include/llvm/Support/Endian.h Thu Apr  6 16:28:29 2017
@@ -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};




More information about the llvm-commits mailing list