[llvm-commits] [llvm] r124187 - /llvm/trunk/include/llvm/Use.h

Jay Foad jay.foad at gmail.com
Tue Jan 25 06:33:33 PST 2011


Author: foad
Date: Tue Jan 25 08:33:33 2011
New Revision: 124187

URL: http://llvm.org/viewvc/llvm-project?rev=124187&view=rev
Log:
Avoid compiler errors when this header file is included first, by adding
a forward declaration of simplify_type<>.

Modified:
    llvm/trunk/include/llvm/Use.h

Modified: llvm/trunk/include/llvm/Use.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Use.h?rev=124187&r1=124186&r2=124187&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Use.h (original)
+++ llvm/trunk/include/llvm/Use.h Tue Jan 25 08:33:33 2011
@@ -33,6 +33,8 @@
 class Value;
 class User;
 class Use;
+template<typename>
+struct simplify_type;
 
 // Use** is only 4-byte aligned.
 template<>





More information about the llvm-commits mailing list