llvm-project/clang/lib/Edit
Yaron Keren 92e1b62d45 Remove many superfluous SmallString::str() calls.
Now that SmallString is a first-class citizen, most SmallString::str()
calls are not required. This patch removes a whole bunch of them, yet
there are lots more.

There are two use cases where str() is really needed:
1) To use one of StringRef member functions which is not available in
SmallString.
2) To convert to std::string, as StringRef implicitly converts while 
SmallString do not. We may wish to change this, but it may introduce
ambiguity.

llvm-svn: 232622
2015-03-18 10:17:07 +00:00
..
CMakeLists.txt [CMake] Reorder libdeps by alphabetical order. 2014-07-14 04:59:27 +00:00
Commit.cpp [objcmt] Revert r191796, it's not needed anymore. 2014-04-28 02:38:51 +00:00
EditedSource.cpp Remove many superfluous SmallString::str() calls. 2015-03-18 10:17:07 +00:00
Makefile
RewriteObjCFoundationAPI.cpp Objective-C modernization. Convert -initWithUTF8String messaging 2014-08-25 20:22:25 +00:00