[PATCH] D17772: [clang-tidy]: string_view of temporary string

Jonathan B Coe via cfe-commits cfe-commits at lists.llvm.org
Tue Mar 1 09:19:17 PST 2016


jbcoe created this revision.
jbcoe added reviewers: aaron.ballman, alexfh.
jbcoe added a subscriber: cfe-commits.
jbcoe set the repository for this revision to rL LLVM.

Find instances where a string_view is constructed from a temporary string and replace the string_view with a string.

Repository:
  rL LLVM

http://reviews.llvm.org/D17772

Files:
  clang-tidy/misc/CMakeLists.txt
  clang-tidy/misc/MiscTidyModule.cpp
  clang-tidy/misc/StringViewOfTemporaryCheck.cpp
  clang-tidy/misc/StringViewOfTemporaryCheck.h
  docs/clang-tidy/checks/list.rst
  docs/clang-tidy/checks/misc-string_view-of-temporary.rst
  test/clang-tidy/misc-string_view-of-temporary.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D17772.49502.patch
Type: text/x-patch
Size: 6744 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160301/c43318cc/attachment.bin>


More information about the cfe-commits mailing list