llvm-project/clang-tools-extra/clang-tidy
Aaron Ballman f034a8c7d7 Reapply r260096.
Expand the simplify boolean expression check to handle implicit conversion of integral types to bool and improve the handling of implicit conversion of member pointers to bool.

Implicit conversion of member pointers are replaced with explicit comparisons to nullptr.

Implicit conversions of integral types are replaced with explicit comparisons to 0.

Patch by Richard Thomson.

llvm-svn: 260681
2016-02-12 15:09:05 +00:00
..
cert Remove autoconf support 2016-01-26 21:31:36 +00:00
cppcoreguidelines Remove autoconf support 2016-01-26 21:31:36 +00:00
google [clang-tidy] google-runtime-int: fix a false positive in implicit code. 2016-02-11 16:22:58 +00:00
llvm Remove autoconf support 2016-01-26 21:31:36 +00:00
misc [clang-tidy] Fix failure in 'misc-misplaced-widening-cast' test. 2016-02-12 09:38:38 +00:00
modernize [clang-tidy] Fix assertion failure on `at` function in modernize-loop-convert. 2016-02-08 15:59:42 +00:00
performance [clang-tidy] Don't use delegating constructors, since they are not supported by MSVC 2013 2016-01-29 17:35:53 +00:00
readability Reapply r260096. 2016-02-12 15:09:05 +00:00
tool [clang-tidy] Reformatted docs + minor updates 2016-02-08 00:19:29 +00:00
utils [clang-tdiy] Add header file extension configuration support. 2016-02-05 11:23:59 +00:00
CMakeLists.txt [clang-tidy] Add UnnecessaryCopyInitialization check to new "performance" module in ClangTidy 2015-12-30 10:24:40 +00:00
ClangTidy.cpp [clang-tdiy] Add header file extension configuration support. 2016-02-05 11:23:59 +00:00
ClangTidy.h [clang-tdiy] Add header file extension configuration support. 2016-02-05 11:23:59 +00:00
ClangTidyDiagnosticConsumer.cpp [clang-tidy] Fix a copy-paste error. 2016-01-15 16:16:47 +00:00
ClangTidyDiagnosticConsumer.h Teach clang-tidy how to upgrade warnings into errors. 2016-01-13 17:36:41 +00:00
ClangTidyModule.cpp [clang-tidy] Default options in modules. 2014-10-16 11:27:57 +00:00
ClangTidyModule.h Revert "Apply modernize-use-default to clang-tools-extra." 2015-10-20 21:45:52 +00:00
ClangTidyModuleRegistry.h [clang-tidy] Fixed header guards using clang-tidy llvm-header-guard check. NFC. 2015-03-09 16:52:33 +00:00
ClangTidyOptions.cpp Teach clang-tidy how to upgrade warnings into errors. 2016-01-13 17:36:41 +00:00
ClangTidyOptions.h Teach clang-tidy how to upgrade warnings into errors. 2016-01-13 17:36:41 +00:00
add_new_check.py [clang-tidy] ForRangeCopyCheck that warns on and fixes unnecessary copies of loop variables. 2016-01-29 15:54:26 +00:00
rename_check.py [clang-tidy] Python script for easy check rename 2015-10-11 07:58:34 +00:00