Avoid compiler errors when this header file is included first, by adding
authorJay Foad <jay.foad@gmail.com>
Tue, 25 Jan 2011 14:33:33 +0000 (14:33 +0000)
committerJay Foad <jay.foad@gmail.com>
Tue, 25 Jan 2011 14:33:33 +0000 (14:33 +0000)
a forward declaration of simplify_type<>.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@124187 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Use.h

index 96e07f88940104407d0cab4c07f03221c98ca637..c4b8851d9351e8bf35511518339f09c3632a0ce7 100644 (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<>