[clang-tidy] Add check for redundant function pointer dereferences
authorMalcolm Parsons <malcolm.parsons@gmail.com>
Tue, 13 Dec 2016 08:04:11 +0000 (08:04 +0000)
committerMalcolm Parsons <malcolm.parsons@gmail.com>
Tue, 13 Dec 2016 08:04:11 +0000 (08:04 +0000)
commite7be4a004b8a0c26841e3726f201e132187db1fe
treefca6bd8ed728a1d9275709a4fa9aa9a56a514101
parentac75bca1eb169c2d13b88e33440dec3df589f964
[clang-tidy] Add check for redundant function pointer dereferences

Reviewers: alexfh, aaron.ballman, hokein

Subscribers: mgorny, JDevlieghere, cfe-commits

Differential Revision: https://reviews.llvm.org/D27520

llvm-svn: 289524
clang-tools-extra/clang-tidy/readability/CMakeLists.txt
clang-tools-extra/clang-tidy/readability/ReadabilityTidyModule.cpp
clang-tools-extra/clang-tidy/readability/RedundantFunctionPtrDereferenceCheck.cpp [new file with mode: 0644]
clang-tools-extra/clang-tidy/readability/RedundantFunctionPtrDereferenceCheck.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/readability-redundant-function-ptr-dereference.rst [new file with mode: 0644]
clang-tools-extra/test/clang-tidy/readability-redundant-function-ptr-dereference.cpp [new file with mode: 0644]