Remove unneeded Compiler.h and DataTypes.h includes, NFC
authorReid Kleckner <rnk@google.com>
Wed, 26 Feb 2020 18:34:12 +0000 (10:34 -0800)
committerReid Kleckner <rnk@google.com>
Wed, 26 Feb 2020 18:36:17 +0000 (10:36 -0800)
lldb/source/Utility/Timer.cpp
llvm/include/llvm/Support/MathExtras.h
llvm/include/llvm/Support/SwapByteOrder.h

index 003afa1..d55c986 100644 (file)
@@ -15,6 +15,7 @@
 #include <vector>
 
 #include <assert.h>
+#include <inttypes.h>
 #include <stdarg.h>
 #include <stdio.h>
 
index 5ad055a..67a9691 100644 (file)
@@ -18,6 +18,7 @@
 #include <algorithm>
 #include <cassert>
 #include <climits>
+#include <cmath>
 #include <cstring>
 #include <limits>
 #include <type_traits>
index 700ede7..94ba1aa 100644 (file)
@@ -14,9 +14,8 @@
 #ifndef LLVM_SUPPORT_SWAPBYTEORDER_H
 #define LLVM_SUPPORT_SWAPBYTEORDER_H
 
-#include "llvm/Support/Compiler.h"
-#include "llvm/Support/DataTypes.h"
 #include <cstddef>
+#include <cstdint>
 #include <type_traits>
 #if defined(_MSC_VER) && !defined(_DEBUG)
 #include <stdlib.h>