Don't repeat names in comments. Remove unused default value.
authorRafael Espindola <rafael.espindola@gmail.com>
Mon, 16 Mar 2015 20:02:28 +0000 (20:02 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Mon, 16 Mar 2015 20:02:28 +0000 (20:02 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@232405 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/MC/MCStreamer.h

index e65a40e8647b0466602133bc8dcc27df0b01568d..225c57aa7a44c0e6a0f4319394356080d3ba8171 100644 (file)
@@ -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);