[llvm-commits] [llvm] r74038 - /llvm/trunk/include/llvm/MC/MCStreamer.h

Chris Lattner clattner at apple.com
Tue Jun 23 17:57:19 PDT 2009


>> native
>>  /// assembler.
>> -  MCStreamer *createAsmStreamer(MCContext &Ctx, raw_ostream &OS);
>> +  inline MCStreamer *createAsmStreamer(MCContext &Ctx, raw_ostream
>> &OS) { return 0; }
>>
> It's a good idea to omit parameter names if they aren't used. This
> prevents spurious warning in Release mode. :-)

Daniel's about to commit an impl of this method.

-Chris



More information about the llvm-commits mailing list