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 | 003b01a80fb575fb52371a2dc92230f31f6e0dbf (patch) | |
| tree | 18272533aeb849fc5ef50864a7aef84cd35cf9f9 /llvm | |
| parent | 776045568d74052a4eb05cf55acd233b6b9b157a (diff) | |
| download | bcm5719-llvm-003b01a80fb575fb52371a2dc92230f31f6e0dbf.tar.gz bcm5719-llvm-003b01a80fb575fb52371a2dc92230f31f6e0dbf.zip | |
forward declare GraphTraits in Type.h instead of #includ'ing it.
llvm-svn: 133201
Diffstat (limited to 'llvm')
| -rw-r--r-- | llvm/include/llvm/Type.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/include/llvm/Type.h b/llvm/include/llvm/Type.h index 5a3413ac3d7..0bd4350132c 100644 --- a/llvm/include/llvm/Type.h +++ b/llvm/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 |

