comparison dmd/template.c @ 527:cecfee2d01a8

Added support for overloaded intrinsics. Added atomic intrinsics in the intrinsics.di header.
author Tomas Lindquist Olsen <tomas.l.olsen@gmail.com>
date Wed, 20 Aug 2008 01:02:22 +0200
parents aaade6ded589
children d4e95db0e62b
comparison
equal deleted inserted replaced
526:642f6fa854e5 527:cecfee2d01a8
301 p->data[i] = (void *)tp->syntaxCopy(); 301 p->data[i] = (void *)tp->syntaxCopy();
302 } 302 }
303 } 303 }
304 d = Dsymbol::arraySyntaxCopy(members); 304 d = Dsymbol::arraySyntaxCopy(members);
305 td = new TemplateDeclaration(loc, ident, p, d); 305 td = new TemplateDeclaration(loc, ident, p, d);
306
307 // LLVMDC
308 td->intrinsicName = intrinsicName;
309
306 return td; 310 return td;
307 } 311 }
308 312
309 void TemplateDeclaration::semantic(Scope *sc) 313 void TemplateDeclaration::semantic(Scope *sc)
310 { 314 {