[clang-tidy] New check to prefer transparent functors to non-transparent ones.
authorGabor Horvath <xazax.hun@gmail.com>
Wed, 16 Nov 2016 14:42:10 +0000 (14:42 +0000)
committerGabor Horvath <xazax.hun@gmail.com>
Wed, 16 Nov 2016 14:42:10 +0000 (14:42 +0000)
commit678dd8fc62c5f57cca2b304376538a9f2fe3fb30
tree2bfc5baeacc679f0340eba25a352226e70131484
parent9e355bc5bb4be8cb49f083b71d0542de386e0b13
[clang-tidy] New check to prefer transparent functors to non-transparent ones.

llvm-svn: 287107
clang-tools-extra/clang-tidy/modernize/CMakeLists.txt
clang-tools-extra/clang-tidy/modernize/ModernizeTidyModule.cpp
clang-tools-extra/clang-tidy/modernize/UseTransparentFunctorsCheck.cpp [new file with mode: 0644]
clang-tools-extra/clang-tidy/modernize/UseTransparentFunctorsCheck.h [new file with mode: 0644]
clang-tools-extra/docs/ReleaseNotes.rst
clang-tools-extra/docs/clang-tidy/checks/list.rst
clang-tools-extra/docs/clang-tidy/checks/modernize-use-transparent-functors.rst [new file with mode: 0644]
clang-tools-extra/test/clang-tidy/modernize-use-transparent-functors.cpp [new file with mode: 0644]