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

Gábor Horváth xazax.hun at gmail.com
Fri Feb 6 02:58:15 PST 2015


Hi Alex,

Thank you for the review.I have removed the redundant checks you mentioned. I did run it on the LLVM code base and did not found any match. I think there is two reason: the code has exceptional quality and LLVM has it's own set of data structures. I will apply for commit access :)


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.19467.patch
Type: text/x-patch
Size: 11188 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150206/8259e8bc/attachment.bin>


More information about the cfe-commits mailing list