[clang-tidy] Add new modernize use unary assert check
authorGabor Horvath <xazax.hun@gmail.com>
Wed, 12 Jul 2017 13:43:35 +0000 (13:43 +0000)
committerGabor Horvath <xazax.hun@gmail.com>
Wed, 12 Jul 2017 13:43:35 +0000 (13:43 +0000)
commit53145213285e4322ec8cfbdd680840d89e230aa5
tree515d3ac05cde8e6f35cd738c9d57a10bcdb65fe0
parent8dfbc772d7639162f9ee2628de7eea94cd2b9b49
[clang-tidy] Add new modernize use unary assert check

Patch by: Lilla Barancsuk

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

llvm-svn: 307791
clang-tools-extra/clang-tidy/modernize/CMakeLists.txt
clang-tools-extra/clang-tidy/modernize/ModernizeTidyModule.cpp
clang-tools-extra/clang-tidy/modernize/UnaryStaticAssertCheck.cpp [new file with mode: 0644]
clang-tools-extra/clang-tidy/modernize/UnaryStaticAssertCheck.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-unary-static-assert.rst [new file with mode: 0644]
clang-tools-extra/test/clang-tidy/modernize-unary-static-assert.cpp [new file with mode: 0644]