[PATCH] [clang-tidy] Checker for inefficient use of algorithms on associative containers

Gábor Horváth xazax.hun at gmail.com
Thu Jan 29 03:48:33 PST 2015


Hi alexfh,

Associative containers implements some of the algorithms as methods which
should be preferred to the algorithms in the algorithm header. The methods
can take advantage of the order of the elements.

http://reviews.llvm.org/D7246

Files:
  clang-tidy/misc/CMakeLists.txt
  clang-tidy/misc/InefficientAlgorithmCheck.cpp
  clang-tidy/misc/InefficientAlgorithmCheck.h
  clang-tidy/misc/MiscTidyModule.cpp
  test/clang-tidy/misc-inefficient-algorithm.cpp

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D7246.18949.patch
Type: text/x-patch
Size: 10353 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150129/04b1048b/attachment.bin>


More information about the cfe-commits mailing list