[PATCH] D32395: [clang-tidy] modernize-use-emplace: remove unnecessary make_pair calls

Jakub Kuderski via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Apr 25 12:39:24 PDT 2017


kuhar updated this revision to Diff 96622.
kuhar marked 4 inline comments as done.
kuhar added a comment.

Added const where possible, moved from if-else to ternary.


https://reviews.llvm.org/D32395

Files:
  clang-tidy/modernize/UseEmplaceCheck.cpp
  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: D32395.96622.patch
Type: text/x-patch
Size: 8011 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170425/383fd076/attachment.bin>


More information about the cfe-commits mailing list