comparison dmd/id.c @ 486:a34078905d01

Added pragma(llvmdc, "string") for misc per-module compiler configuration, currently "string" can only be "verbose" which forces -vv for module it appears in. Reimplemented support for nested functions/class using a new approach. Added error on taking address of intrinsic. Fixed problems with the ->syntaxCopy of TypeFunction delegate exp. Removed DtoDType and replaced all uses with ->toBasetype() instead. Removed unused inplace stuff. Fixed a bunch of issues in the runtime unittests, not complete yet. Added mini tests.
author Tomas Lindquist Olsen <tomas.l.olsen@gmail.com>
date Sun, 10 Aug 2008 08:37:38 +0200
parents cc40db549aea
children 50383e476c7e
comparison
equal deleted inserted replaced
485:50f6e2337a6b 486:a34078905d01
174 Identifier *Id::Alloca; 174 Identifier *Id::Alloca;
175 Identifier *Id::vastart; 175 Identifier *Id::vastart;
176 Identifier *Id::vacopy; 176 Identifier *Id::vacopy;
177 Identifier *Id::vaend; 177 Identifier *Id::vaend;
178 Identifier *Id::vaarg; 178 Identifier *Id::vaarg;
179 Identifier *Id::llvmdc;
179 Identifier *Id::tohash; 180 Identifier *Id::tohash;
180 Identifier *Id::tostring; 181 Identifier *Id::tostring;
181 Identifier *Id::main; 182 Identifier *Id::main;
182 Identifier *Id::WinMain; 183 Identifier *Id::WinMain;
183 Identifier *Id::DllMain; 184 Identifier *Id::DllMain;
355 Alloca = Lexer::idPool("alloca"); 356 Alloca = Lexer::idPool("alloca");
356 vastart = Lexer::idPool("va_start"); 357 vastart = Lexer::idPool("va_start");
357 vacopy = Lexer::idPool("va_copy"); 358 vacopy = Lexer::idPool("va_copy");
358 vaend = Lexer::idPool("va_end"); 359 vaend = Lexer::idPool("va_end");
359 vaarg = Lexer::idPool("va_arg"); 360 vaarg = Lexer::idPool("va_arg");
361 llvmdc = Lexer::idPool("llvmdc");
360 tohash = Lexer::idPool("toHash"); 362 tohash = Lexer::idPool("toHash");
361 tostring = Lexer::idPool("toString"); 363 tostring = Lexer::idPool("toString");
362 main = Lexer::idPool("main"); 364 main = Lexer::idPool("main");
363 WinMain = Lexer::idPool("WinMain"); 365 WinMain = Lexer::idPool("WinMain");
364 DllMain = Lexer::idPool("DllMain"); 366 DllMain = Lexer::idPool("DllMain");