llvm-project/clang-tools-extra/clang-tidy
Aaron Ballman fdaabf1ca7 Fix some false-positives with cppcoreguidelines-pro-type-member-init. Handle classes with default constructors that are defaulted or are not present in the AST.
Classes with virtual methods or virtual bases are not trivially default constructible, so their members and bases need to be initialized.

Patch by Malcolm Parsons.

llvm-svn: 283224
2016-10-04 14:48:05 +00:00
..
boost [clang-tidy] boost-use-to-string arg expr location bugfix 2016-06-28 08:16:20 +00:00
cert Silence a false positive with the cert-err58-cpp check; now allows objects with static or thread storage duration at function block scope. 2016-09-26 15:00:45 +00:00
cppcoreguidelines Fix some false-positives with cppcoreguidelines-pro-type-member-init. Handle classes with default constructors that are defaulted or are not present in the AST. 2016-10-04 14:48:05 +00:00
google [clang-tidy] Cleaning up language options. 2016-09-24 02:13:45 +00:00
llvm [clang-tidy] Cleaning up language options. 2016-09-24 02:13:45 +00:00
misc [clang-tidy] Cleaning up language options. 2016-09-24 02:13:45 +00:00
modernize [clang-tidy] Cleaning up language options. 2016-09-24 02:13:45 +00:00
mpi [clang-tidy] Cleaning up language options. 2016-09-24 02:13:45 +00:00
performance [clang-tidy] Inefficient string operation 2016-08-03 23:06:03 +00:00
plugin [clang-tidy] MPITypeMismatchCheck 2016-08-02 20:29:35 +00:00
readability [clang-tidy] Use isStaticStorageClass ast matcher. 2016-09-27 07:58:52 +00:00
tool [clang-tidy] Add doc for `explain-config` option. 2016-09-22 14:36:43 +00:00
utils Fix some false-positives with cppcoreguidelines-pro-type-member-init. Handle classes with default constructors that are defaulted or are not present in the AST. 2016-10-04 14:48:05 +00:00
CMakeLists.txt [clang-tidy] MPITypeMismatchCheck 2016-08-02 20:29:35 +00:00
ClangTidy.cpp [clang-tidy] Fix the order of ExtraArgsBefore 2016-08-23 14:13:31 +00:00
ClangTidy.h [clang-tidy] misc-argument-comment non-strict mode 2016-08-04 14:54:54 +00:00
ClangTidyDiagnosticConsumer.cpp [clang-tidy] fix for NOLINT after macro expansion 2016-09-24 16:06:53 +00:00
ClangTidyDiagnosticConsumer.h Fix clang-tidy crash when a single fix is applied on multiple files. 2016-08-09 07:54:49 +00:00
ClangTidyModule.cpp Apply performance-unnecessary-value-param to clang-tidy. 2016-06-15 15:46:10 +00:00
ClangTidyModule.h Revert "Apply modernize-use-default to clang-tools-extra." 2015-10-20 21:45:52 +00:00
ClangTidyModuleRegistry.h Reapply r276973 "Adjust Registry interface to not require plugins to export a registry" 2016-08-05 11:01:08 +00:00
ClangTidyOptions.cpp [clang-tidy] Merge ExtraArgs(Before) instead of overriding them. 2016-08-23 14:48:29 +00:00
ClangTidyOptions.h [ClangTidy] Add an 'explain-checks' option to diagnose where each checks comes from. 2016-04-27 09:15:01 +00:00
add_new_check.py [clang-tidy] Remove redundant quote in add_new_check script 2016-05-30 15:42:08 +00:00
rename_check.py [clang-tidy] Python script for easy check rename 2015-10-11 07:58:34 +00:00