diff gen/llvmhelpers.h @ 1504:855f188aab7a

Added a stripModifiers() function to remove shared|const|immutable storage classes in D2 (should eventually be moved to a dhelpers file rather than llvm helpers). Replaced a few occurances of STCinvariant with STCimmutable.
author Robert Clipsham <robert@octarineparrot.com>
date Thu, 18 Jun 2009 15:44:04 +0100
parents 4f7d50c744ed
children 1e5a14691e77
line wrap: on
line diff
--- a/gen/llvmhelpers.h	Tue Jun 16 15:37:40 2009 +0200
+++ b/gen/llvmhelpers.h	Thu Jun 18 15:44:04 2009 +0100
@@ -170,4 +170,6 @@
 ///
 DValue* DtoCallFunction(Loc& loc, Type* resulttype, DValue* fnval, Expressions* arguments);
 
+Type* stripModifiers(Type* type);
+
 #endif