Mercurial > projects > ldc
comparison gen/toobj.c @ 38:27b2f40bdb58 trunk
[svn r42] Disabled the extensive logging by default. Use the -vv flag to get it back.
Fiddled a bit the the testing system.
Added a very simple SDL graphics demo.
author | lindquist |
---|---|
date | Wed, 10 Oct 2007 06:16:48 +0200 |
parents | 2841234d2aea |
children | 8b0e809563df |
comparison
equal
deleted
inserted
replaced
37:77cdca8c210f | 38:27b2f40bdb58 |
---|---|
131 | 131 |
132 /* ================================================================== */ | 132 /* ================================================================== */ |
133 | 133 |
134 void Dsymbol::toObjFile() | 134 void Dsymbol::toObjFile() |
135 { | 135 { |
136 warning("Ignoring Dsymbol::toObjFile for %s", toChars()); | 136 Logger::println("Ignoring Dsymbol::toObjFile for %s", toChars()); |
137 } | 137 } |
138 | 138 |
139 /* ================================================================== */ | 139 /* ================================================================== */ |
140 | 140 |
141 void Declaration::toObjFile() | 141 void Declaration::toObjFile() |
142 { | 142 { |
143 warning("Ignoring Declaration::toObjFile for %s", toChars()); | 143 Logger::println("Ignoring Declaration::toObjFile for %s", toChars()); |
144 } | 144 } |
145 | 145 |
146 /* ================================================================== */ | 146 /* ================================================================== */ |
147 | 147 |
148 /// Returns the LLVM style index from a DMD style offset | 148 /// Returns the LLVM style index from a DMD style offset |
203 | 203 |
204 /* ================================================================== */ | 204 /* ================================================================== */ |
205 | 205 |
206 void InterfaceDeclaration::toObjFile() | 206 void InterfaceDeclaration::toObjFile() |
207 { | 207 { |
208 warning("Ignoring InterfaceDeclaration::toObjFile for %s", toChars()); | 208 Logger::println("Ignoring InterfaceDeclaration::toObjFile for %s", toChars()); |
209 } | 209 } |
210 | 210 |
211 /* ================================================================== */ | 211 /* ================================================================== */ |
212 | 212 |
213 void StructDeclaration::toObjFile() | 213 void StructDeclaration::toObjFile() |
619 | 619 |
620 /* ================================================================== */ | 620 /* ================================================================== */ |
621 | 621 |
622 void EnumDeclaration::toObjFile() | 622 void EnumDeclaration::toObjFile() |
623 { | 623 { |
624 warning("Ignoring EnumDeclaration::toObjFile for %s", toChars()); | 624 Logger::println("Ignoring EnumDeclaration::toObjFile for %s", toChars()); |
625 } | 625 } |
626 | 626 |
627 /* ================================================================== */ | 627 /* ================================================================== */ |
628 | 628 |
629 void FuncDeclaration::toObjFile() | 629 void FuncDeclaration::toObjFile() |