diff --git a/include/llvm/Type.h b/include/llvm/Type.h index 5a3413ac3d7..0bd4350132c 100644 --- a/include/llvm/Type.h +++ b/include/llvm/Type.h @@ -17,7 +17,6 @@ #include "llvm/AbstractTypeUser.h" #include "llvm/Support/Casting.h" -#include "llvm/ADT/GraphTraits.h" #include #include @@ -30,6 +29,7 @@ class TypeMapBase; class raw_ostream; class Module; class LLVMContext; +template struct GraphTraits; /// The instances of the Type class are immutable: once they are created, /// they are never changed. Also note that only one instance of a particular