From afde5188f2a97bd776e1349fe78801d67e187136 Mon Sep 17 00:00:00 2001 From: Jay Foad Date: Tue, 25 Jan 2011 14:33:33 +0000 Subject: [PATCH] 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 --- include/llvm/Use.h | 2 ++ 1 file changed, 2 insertions(+) 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<>