Mercurial > projects > ldc
diff gen/llvmhelpers.cpp @ 934:b56f3571c450
Fixed problem with static ctors, in templated imported classes, not begin run. Fixes #203
author | Tomas Lindquist Olsen <tomas.l.olsen@gmail.com> |
---|---|
date | Wed, 04 Feb 2009 00:50:04 +0100 |
parents | 545f54041d91 |
children | 2ebac4750adb |
line wrap: on
line diff
--- a/gen/llvmhelpers.cpp Wed Feb 04 00:04:09 2009 +0100 +++ b/gen/llvmhelpers.cpp Wed Feb 04 00:50:04 2009 +0100 @@ -826,6 +826,7 @@ // TEMPLATE HELPERS ////////////////////////////////////////////////////////////////////////////////////////*/ +// FIXME: when is this the right one to use instead of Dsymbol::inTemplateInstance() ? bool DtoIsTemplateInstance(Dsymbol* s) { if (!s) return false;