llvm.org GIT mirror llvm / 04a8fcb
[BitstreamWriter][NFC] Remove obsolete comment. The Abbv parameter was just a raw pointer when the comment was written. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@362046 91177308-0d34-0410-b5e6-96231b3b80d8 Jan Korous 4 months ago
1 changed file(s) with 1 addition(s) and 3 deletion(s). Raw diff Collapse all Expand all
485485 }
486486 public:
487487
488 /// EmitAbbrev - This emits an abbreviation to the stream. Note that this
489 /// method takes ownership of the specified abbrev.
488 /// Emits the abbreviation \p Abbv to the stream.
490489 unsigned EmitAbbrev(std::shared_ptr Abbv) {
491 // Emit the abbreviation as a record.
492490 EncodeAbbrev(*Abbv);
493491 CurAbbrevs.push_back(std::move(Abbv));
494492 return static_cast(CurAbbrevs.size())-1 +