From: Jay Foad Date: Tue, 25 Jan 2011 14:33:33 +0000 (+0000) Subject: Avoid compiler errors when this header file is included first, by adding X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=afde5188f2a97bd776e1349fe78801d67e187136;p=oota-llvm.git 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 --- diff --git a/include/llvm/Use.h b/include/llvm/Use.h index 96e07f88940..c4b8851d935 100644 --- a/include/llvm/Use.h +++ b/include/llvm/Use.h @@ -33,6 +33,8 @@ namespace llvm { class Value; class User; class Use; +template +struct simplify_type; // Use** is only 4-byte aligned. template<>