Avoid compiler errors when this header file is included first, by adding

a forward declaration of simplify_type<>.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@124187 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Jay Foad 2011-01-25 14:33:33 +00:00
parent dadcf8eedd
commit afde5188f2

View File

@ -33,6 +33,8 @@ namespace llvm {
class Value;
class User;
class Use;
template<typename>
struct simplify_type;
// Use** is only 4-byte aligned.
template<>