[PATCH] D18442: A clang-tidy check for std:accumulate.

Clement Courbet via cfe-commits cfe-commits at lists.llvm.org
Mon Apr 18 05:17:39 PDT 2016


courbet updated the summary for this revision.
courbet updated this revision to Diff 54045.
courbet marked 7 inline comments as done.
courbet added a comment.

- Use matchers for most of the check logic,
- Implement checking for reduce and inner_product,
- more tests.


http://reviews.llvm.org/D18442

Files:
  clang-tidy/misc/CMakeLists.txt
  clang-tidy/misc/FoldInitTypeCheck.cpp
  clang-tidy/misc/FoldInitTypeCheck.h
  clang-tidy/misc/MiscTidyModule.cpp
  docs/clang-tidy/checks/list.rst
  docs/clang-tidy/checks/misc-fold-init-type.rst
  test/clang-tidy/misc-fold-init-type.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D18442.54045.patch
Type: text/x-patch
Size: 15898 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160418/763752ac/attachment.bin>


More information about the cfe-commits mailing list