[clang-tidy] Add new readability non-idiomatic static access check
authorGabor Horvath <xazax.hun@gmail.com>
Tue, 8 Aug 2017 15:33:48 +0000 (15:33 +0000)
committerGabor Horvath <xazax.hun@gmail.com>
Tue, 8 Aug 2017 15:33:48 +0000 (15:33 +0000)
commit40b6512d9ef7c68cc0c6bb5521f29616f4f79264
tree5d3de437ae77c131800c7fe00bfa4b4e4765e67d
parent741d21f958fc76222c7cc4c6183e293ff86d1e1b
[clang-tidy] Add new readability non-idiomatic static access check

Patch by: Lilla Barancsuk

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

llvm-svn: 310371
clang-tools-extra/clang-tidy/readability/CMakeLists.txt
clang-tools-extra/clang-tidy/readability/ReadabilityTidyModule.cpp
clang-tools-extra/clang-tidy/readability/StaticAccessedThroughInstanceCheck.cpp [new file with mode: 0644]
clang-tools-extra/clang-tidy/readability/StaticAccessedThroughInstanceCheck.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-static-accessed-through-instance.rst [new file with mode: 0644]
clang-tools-extra/test/clang-tidy/readability-static-accessed-through-instance-nesting-threshold.cpp [new file with mode: 0644]
clang-tools-extra/test/clang-tidy/readability-static-accessed-through-instance.cpp [new file with mode: 0644]