mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-17 03:24:34 +00:00
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@235000 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -430,7 +430,7 @@ namespace llvm {
|
|||||||
/// Return the twine contents as a std::string.
|
/// Return the twine contents as a std::string.
|
||||||
std::string str() const;
|
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;
|
void toVector(SmallVectorImpl<char> &Out) const;
|
||||||
|
|
||||||
/// This returns the twine as a single StringRef. This method is only valid
|
/// This returns the twine as a single StringRef. This method is only valid
|
||||||
|
Reference in New Issue
Block a user