Skip to content

Commit

Permalink
SmallVectorMemoryBuffer: Fix some comments
Browse files Browse the repository at this point in the history
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@330128 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
dwblaikie committed Apr 16, 2018
1 parent 72fc210 commit a97e999
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions include/llvm/Support/SmallVectorMemoryBuffer.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//===- SmallVectorMemoryBuffer.h - SmallVector-backed MemoryBuffrer -*- C++
//-*-===//
//===- SmallVectorMemoryBuffer.h --------------------------------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
Expand Down Expand Up @@ -44,8 +43,7 @@ class SmallVectorMemoryBuffer : public MemoryBuffer {
}

/// \brief Construct a named SmallVectorMemoryBuffer from the given
/// SmallVector
/// r-value and StringRef.
/// SmallVector r-value and StringRef.
SmallVectorMemoryBuffer(SmallVectorImpl<char> &&SV, StringRef Name)
: SV(std::move(SV)), BufferName(Name) {
init(this->SV.begin(), this->SV.end(), false);
Expand Down

0 comments on commit a97e999

Please sign in to comment.