Teach Twine to support SmallString.
authorYaron Keren <yaron.keren@gmail.com>
Tue, 17 Mar 2015 09:51:17 +0000 (09:51 +0000)
committerYaron Keren <yaron.keren@gmail.com>
Tue, 17 Mar 2015 09:51:17 +0000 (09:51 +0000)
commit0401f798d1c42498d4e9a9bdd2e7ead1719d6c92
tree268579b487eff82db077ae84911029e93eee0575
parentc57441f71621cb099cbee49f2e55e6333aafdb67
Teach Twine to support SmallString.

Enable removing .str() member calls for these frequent cases.

 http://reviews.llvm.org/D6372

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@232465 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/ADT/Twine.h
include/llvm/MC/MCContext.h
include/llvm/Option/ArgList.h
lib/MC/MCContext.cpp
lib/Option/ArgList.cpp
lib/Support/Twine.cpp
unittests/ADT/TwineTest.cpp