[llvm-commits] [llvm] r93317 - in /llvm/trunk: include/llvm/ADT/Twine.h lib/Support/Twine.cpp lib/VMCore/Mangler.cpp lib/VMCore/Metadata.cpp lib/VMCore/Value.cpp
Chris Lattner
clattner at apple.com
Wed Jan 13 10:39:02 PST 2010
On Jan 13, 2010, at 4:45 AM, Benjamin Kramer wrote:
> Author: d0k
> Date: Wed Jan 13 06:45:23 2010
> New Revision: 93317
>
> URL: http://llvm.org/viewvc/llvm-project?rev=93317&view=rev
> Log:
> Introduce Twine::toStringRef, a variant of toVector which avoids the copy if the
> twine can be represented as a single StringRef. Use the new methode to simplify
> some twine users.
Nice, that is much more elegant!
-Chris
More information about the llvm-commits
mailing list