[PATCH] replace some const std::string & with llvm::StringRef or std::string

Eugene Kosov claprix at yandex.ru
Mon Jun 22 05:25:03 PDT 2015


Hi.

Here are two patches for clang-tools-extra and for clang which simplifies code a little bit and also removes possibility of implicit std::string construction.

--
Eugene
-------------- next part --------------
A non-text attachment was scrubbed...
Name: clang.diff
Type: text/x-diff
Size: 7263 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150622/6beff459/attachment.diff>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: extra.diff
Type: text/x-diff
Size: 5185 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150622/6beff459/attachment-0001.diff>


More information about the cfe-commits mailing list