comparison gen/cl_options.cpp @ 1364:46f6365a50d7

Added IrTypeFunction and IrTypeDelegate and eliminated IrDType. This means the Type::ir field can be removed. It's the final part needed for the move to a slightly more sane type system. Now the whole thing just needs to be cleaned up :P Added -v-cg switch, which right now just prints "codegen: module.name (module/name.d)" to stdout, this can really help figuring out where, in some complex build command, things go wrong.
author Tomas Lindquist Olsen <tomas.l.olsen gmail com>
date Sat, 16 May 2009 18:19:52 +0200
parents 29d3861aa2da
children 1311dabc6a1f
comparison
equal deleted inserted replaced
1363:b7c8506e1eed 1364:46f6365a50d7
41 41
42 static cl::opt<bool, true> verbose("v", 42 static cl::opt<bool, true> verbose("v",
43 cl::desc("Verbose"), 43 cl::desc("Verbose"),
44 cl::ZeroOrMore, 44 cl::ZeroOrMore,
45 cl::location(global.params.verbose)); 45 cl::location(global.params.verbose));
46
47 static cl::opt<bool, true> verbose_cg("v-cg",
48 cl::desc("Verbose codegen"),
49 cl::ZeroOrMore,
50 cl::location(global.params.verbose_cg));
46 51
47 static cl::opt<bool, true> warnings("w", 52 static cl::opt<bool, true> warnings("w",
48 cl::desc("Enable warnings"), 53 cl::desc("Enable warnings"),
49 cl::ZeroOrMore, 54 cl::ZeroOrMore,
50 cl::location(global.params.warnings)); 55 cl::location(global.params.warnings));