[llvm] r362046 - [BitstreamWriter][NFC] Remove obsolete comment.

Jan Korous via llvm-commits llvm-commits at lists.llvm.org
Wed May 29 18:08:38 PDT 2019


Author: jkorous
Date: Wed May 29 18:08:38 2019
New Revision: 362046

URL: http://llvm.org/viewvc/llvm-project?rev=362046&view=rev
Log:
[BitstreamWriter][NFC] Remove obsolete comment.

The Abbv parameter was just a raw pointer when the comment was written.

Modified:
    llvm/trunk/include/llvm/Bitcode/BitstreamWriter.h

Modified: llvm/trunk/include/llvm/Bitcode/BitstreamWriter.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Bitcode/BitstreamWriter.h?rev=362046&r1=362045&r2=362046&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Bitcode/BitstreamWriter.h (original)
+++ llvm/trunk/include/llvm/Bitcode/BitstreamWriter.h Wed May 29 18:08:38 2019
@@ -486,10 +486,8 @@ private:
   }
 public:
 
-  /// EmitAbbrev - This emits an abbreviation to the stream.  Note that this
-  /// method takes ownership of the specified abbrev.
+  /// Emits the abbreviation \p Abbv to the stream.
   unsigned EmitAbbrev(std::shared_ptr<BitCodeAbbrev> Abbv) {
-    // Emit the abbreviation as a record.
     EncodeAbbrev(*Abbv);
     CurAbbrevs.push_back(std::move(Abbv));
     return static_cast<unsigned>(CurAbbrevs.size())-1 +




More information about the llvm-commits mailing list