From: Chris Lattner Date: Thu, 16 Jun 2011 21:49:23 +0000 (+0000) Subject: forward declare GraphTraits in Type.h instead of #includ'ing it. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=354eee7c8ad6c284bd1c8614b49c965dfe51d364;p=oota-llvm.git 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 --- 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