diff options
author | Chris Lattner <sabre@nondot.org> | 2011-06-16 21:49:23 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2011-06-16 21:49:23 +0000 |
commit | 354eee7c8ad6c284bd1c8614b49c965dfe51d364 (patch) | |
tree | a34e7584beda9920719be7b2298dc15894068949 /include/llvm/Type.h | |
parent | c86f24c2960f10b404ad95872efe57477eda0586 (diff) | |
download | external_llvm-354eee7c8ad6c284bd1c8614b49c965dfe51d364.zip external_llvm-354eee7c8ad6c284bd1c8614b49c965dfe51d364.tar.gz external_llvm-354eee7c8ad6c284bd1c8614b49c965dfe51d364.tar.bz2 |
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/llvm/Type.h')
-rw-r--r-- | include/llvm/Type.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Type.h b/include/llvm/Type.h index 5a3413a..0bd4350 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 |