summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2011-06-16 21:49:23 +0000
committerChris Lattner <sabre@nondot.org>2011-06-16 21:49:23 +0000
commit354eee7c8ad6c284bd1c8614b49c965dfe51d364 (patch)
treea34e7584beda9920719be7b2298dc15894068949 /include
parentc86f24c2960f10b404ad95872efe57477eda0586 (diff)
downloadllvm-354eee7c8ad6c284bd1c8614b49c965dfe51d364.tar.gz
llvm-354eee7c8ad6c284bd1c8614b49c965dfe51d364.tar.bz2
llvm-354eee7c8ad6c284bd1c8614b49c965dfe51d364.tar.xz
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
Diffstat (limited to 'include')
-rw-r--r--include/llvm/Type.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Type.h b/include/llvm/Type.h
index 5a3413ac3d..0bd4350132 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 <string>
#include <vector>
@@ -30,6 +29,7 @@ class TypeMapBase;
class raw_ostream;
class Module;
class LLVMContext;
+template<class GraphType> 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