summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--llvm/include/llvm/Bitcode/BitstreamWriter.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/llvm/include/llvm/Bitcode/BitstreamWriter.h b/llvm/include/llvm/Bitcode/BitstreamWriter.h
index 3de3998db52..cd5b614d105 100644
--- a/llvm/include/llvm/Bitcode/BitstreamWriter.h
+++ b/llvm/include/llvm/Bitcode/BitstreamWriter.h
@@ -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 +
OpenPOWER on IntegriCloud