diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2015-03-16 20:02:28 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2015-03-16 20:02:28 +0000 |
commit | 928c39381060ff61ad7610dc1a8bb446bb41ddcd (patch) | |
tree | 0e7755219d023d765886e294c9bdd8a6903eb8b2 | |
parent | 8dd680dcb166d1e839e394a3f91f39e3bdb344e5 (diff) | |
download | bcm5719-llvm-928c39381060ff61ad7610dc1a8bb446bb41ddcd.tar.gz bcm5719-llvm-928c39381060ff61ad7610dc1a8bb446bb41ddcd.zip |
Don't repeat names in comments. Remove unused default value.
llvm-svn: 232405
-rw-r--r-- | llvm/include/llvm/MC/MCStreamer.h | 19 |
1 files changed, 8 insertions, 11 deletions
diff --git a/llvm/include/llvm/MC/MCStreamer.h b/llvm/include/llvm/MC/MCStreamer.h index e65a40e8647..225c57aa7a4 100644 --- a/llvm/include/llvm/MC/MCStreamer.h +++ b/llvm/include/llvm/MC/MCStreamer.h @@ -724,13 +724,12 @@ public: virtual bool mayHaveInstructions() const { return true; } }; -/// createNullStreamer - Create a dummy machine code streamer, which does -/// nothing. This is useful for timing the assembler front end. +/// Create a dummy machine code streamer, which does nothing. This is useful for +/// timing the assembler front end. MCStreamer *createNullStreamer(MCContext &Ctx); -/// createAsmStreamer - Create a machine code streamer which will print out -/// assembly for the native target, suitable for compiling with a native -/// assembler. +/// Create a machine code streamer which will print out assembly for the native +/// target, suitable for compiling with a native assembler. /// /// \param InstPrint - If given, the instruction printer to use. If not given /// the MCInst representation will be printed. This method takes ownership of @@ -750,17 +749,15 @@ MCStreamer *createAsmStreamer(MCContext &Ctx, formatted_raw_ostream &OS, MCInstPrinter *InstPrint, MCCodeEmitter *CE, MCAsmBackend *TAB, bool ShowInst); -/// createMachOStreamer - Create a machine code streamer which will generate -/// Mach-O format object files. +/// Create a machine code streamer which will generate Mach-O format object +/// files. /// /// Takes ownership of \p TAB and \p CE. MCStreamer *createMachOStreamer(MCContext &Ctx, MCAsmBackend &TAB, raw_ostream &OS, MCCodeEmitter *CE, - bool RelaxAll = false, - bool LabelSections = false); + bool RelaxAll, bool LabelSections = false); -/// createELFStreamer - Create a machine code streamer which will generate -/// ELF format object files. +/// Create a machine code streamer which will generate ELF format object files. MCStreamer *createELFStreamer(MCContext &Ctx, MCAsmBackend &TAB, raw_ostream &OS, MCCodeEmitter *CE, bool RelaxAll); |