From 354eee7c8ad6c284bd1c8614b49c965dfe51d364 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Thu, 16 Jun 2011 21:49:23 +0000 Subject: [PATCH] forward declare GraphTraits in Type.h instead of #includ'ing it. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@133201 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Type.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.34.1