[PATCH] D32690: [clang-tidy] modernize-use-emplace: Remove unnecessary make_tuple calls

Jakub Kuderski via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon May 1 09:25:09 PDT 2017


kuhar updated this revision to Diff 97299.
kuhar edited the summary of this revision.
kuhar added a comment.

I went ahead and generalized the patch to support custom tuple-like types and custom make_ functions.
I added a bunch of tests and updated the docs.

Let me know what you think.


https://reviews.llvm.org/D32690

Files:
  clang-tidy/modernize/UseEmplaceCheck.cpp
  clang-tidy/modernize/UseEmplaceCheck.h
  docs/ReleaseNotes.rst
  docs/clang-tidy/checks/modernize-use-emplace.rst
  test/clang-tidy/modernize-use-emplace.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D32690.97299.patch
Type: text/x-patch
Size: 14877 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170501/6c073e1d/attachment.bin>


More information about the cfe-commits mailing list