From 31729c4638e693e0e119489043b8a4da1734bb84 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<>. llvm-svn: 124187 --- 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<>