Clarify that Twine::toVector *appends* the Twine to the given SmallString.

That's the way it works now, since toVector does not clear the given
SmallString before printing to it.

llvm-svn: 235000
This commit is contained in:
Yaron Keren 2015-04-15 11:27:32 +00:00
parent 2e206eb65f
commit 749e088a26
1 changed files with 1 additions and 1 deletions

View File

@ -430,7 +430,7 @@ namespace llvm {
/// Return the twine contents as a std::string.
std::string str() const;
/// Write the concatenated string into the given SmallString or SmallVector.
/// Append the concatenated string into the given SmallString or SmallVector.
void toVector(SmallVectorImpl<char> &Out) const;
/// This returns the twine as a single StringRef. This method is only valid