[PATCH] D115044: [llvm] Remove out-of-date fixme from SmallVectorMemoryBuffer

Jan Svoboda via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 8 02:54:07 PST 2021


This revision was automatically updated to reflect the committed changes.
Closed by commit rG9b914aacbd54: [llvm] Remove out-of-date fixme from SmallVectorMemoryBuffer (authored by jansvoboda11).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D115044/new/

https://reviews.llvm.org/D115044

Files:
  llvm/include/llvm/Support/SmallVectorMemoryBuffer.h


Index: llvm/include/llvm/Support/SmallVectorMemoryBuffer.h
===================================================================
--- llvm/include/llvm/Support/SmallVectorMemoryBuffer.h
+++ llvm/include/llvm/Support/SmallVectorMemoryBuffer.h
@@ -30,12 +30,6 @@
 public:
   /// Construct an SmallVectorMemoryBuffer from the given SmallVector
   /// r-value.
-  ///
-  /// FIXME: It'd be nice for this to be a non-templated constructor taking a
-  /// SmallVectorImpl here instead of a templated one taking a SmallVector<N>,
-  /// but SmallVector's move-construction/assignment currently only take
-  /// SmallVectors. If/when that is fixed we can simplify this constructor and
-  /// the following one.
   SmallVectorMemoryBuffer(SmallVectorImpl<char> &&SV)
       : SV(std::move(SV)), BufferName("<in-memory object>") {
     init(this->SV.begin(), this->SV.end(), false);


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D115044.392695.patch
Type: text/x-patch
Size: 870 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211208/277eacda/attachment.bin>


More information about the llvm-commits mailing list