diff options
-rw-r--r-- | llvm/include/llvm/ADT/STLExtras.h | 4 | ||||
-rw-r--r-- | llvm/include/llvm/Support/type_traits.h | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/llvm/include/llvm/ADT/STLExtras.h b/llvm/include/llvm/ADT/STLExtras.h index 06a1756e26f..0d547c29572 100644 --- a/llvm/include/llvm/ADT/STLExtras.h +++ b/llvm/include/llvm/ADT/STLExtras.h @@ -17,7 +17,6 @@ #ifndef LLVM_ADT_STLEXTRAS_H #define LLVM_ADT_STLEXTRAS_H -#include "llvm/Support/Compiler.h" #include <algorithm> // for std::all_of #include <cassert> #include <cstddef> // for std::size_t @@ -27,6 +26,9 @@ #include <memory> #include <utility> // for std::pair +#include "llvm/ADT/iterator_range.h" +#include "llvm/Support/Compiler.h" + namespace llvm { //===----------------------------------------------------------------------===// diff --git a/llvm/include/llvm/Support/type_traits.h b/llvm/include/llvm/Support/type_traits.h index 2a429585201..7706ff52719 100644 --- a/llvm/include/llvm/Support/type_traits.h +++ b/llvm/include/llvm/Support/type_traits.h @@ -17,6 +17,8 @@ #include <type_traits> #include <utility> +#include "llvm/Support/Compiler.h" + #ifndef __has_feature #define LLVM_DEFINED_HAS_FEATURE #define __has_feature(x) 0 |